Hi
In a Gantt, I added custom columns, but I need to catch event when a user will change a value. How to do this ?
I don't find event :/
The same when the user modifies the End Date of a task in Timeline, can't we catch event ?
Hi,
I`m not sure what are your final goals, but maybe you could try one of these events:
private void ultraGanttView1_CellDeactivating(object sender, CellDeactivatingEventArgs e)
{
// You could check for a column`s key. For your custom columns, please verify that you set a Key property.
if (e.TaskFieldInfo.TaskFieldKey == "Duration")
Debug.WriteLine("AAAAA");
}
Another possible option could be:
private void ultraGanttView1_InitializeTaskGridRow(object sender, InitializeTaskGridRowEventArgs e)
// TO DO
This event will fire in both cases (when modify the task through the grid and through the timeline)
Let me know if you have any questions
I'll try to explain better.
I have custom columns : A and B.
If a user changes A value on a task. I want to change the Start/Finish Date. If the user changes the timeline (so the start/finish Date) I want to change the value for B.
to summarize :
A impacts Start Time.StartTime impacts B.
What event is fired when A value has changed ?What event is fired when Timeline has changed ?