Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
200
Questions about UltraGanttView
posted

Hi,

I'm trying to figure out the following with the ultraganttview:

  1. How can I detect when a value has changed in say the Task Name column and for a Custom Column?
  2. How can I make a row/task read only when the percentage complete goes to 100% for example?
  3. How do you get the 'Resource Names' field from a Task object?

Thank you.

Parents
No Data
Reply
  • 1225
    Verified Answer
    Offline posted

    Hi,
    You can make a Task read only by setting,
    e.TaskFieldInfo.Task.TaskSettings.ReadOnly in the CellDeactivating event and by setting, e.Task.TaskSettings.ReadOnly in the event TaskElementDragComplete.

    Resource Names can be assigned to a Task by adding CalendarInfo Owners to the Resouces collection on the Task.
    Task t1 = new Task();
    this.ultraCalendarInfo1.Owners.Add("t1owner");
    t1.Resources.Add(this.ultraCalendarInfo1.Owners[1])

    Please let me know if you need any further assistance on this matter.

    Thanks,
    Josheela

Children