Gantt: Property task.DataItem null after RowSelect
10 years ago.
Hello,
on PageLoad I filled atask list of a Gantt, including storing some data (used for formatting in BeforeTaskRender) in DataItem.
After a RowSelect (RowClickHandling is set to Select) the Task items seems to be redrawn, each with event BeforeTaskRender. But at this time the DataItem objekt is null. So I do not have the information I need there for formatting e.Box.Html for example.
Why is that information not available after RowSelect?
If I reload all Task after a RowSelect I will loose all information on before expanded and collepsed items, so that is not a solution.
Can you assist?
Best regards
DayPilot