Hello,
Can I customize the inicialize columns? For example, I need to show PercentComplete when the component is initialized.
Thank you.
I found the answer:
gantt.ExecuteCommand(GanttCommandId.InsertColumn, new GanttGridColumn("PercentComplete"));
But I would like to know if can I order the columns in the code? Because the new column was inserted in the end.
Hello Eduardo,
Thank you for your post!
I am glad you were able to find a way to insert columns into the XamGantt on startup. There is also another way you can do this as well, though. I would recommend that you see our online documentation article which shows a Code Example of changing the XamGantt column set. The XamGantt will also respect the order of these columns being added using this method. Here is the link to that page: http://help.infragistics.com/Help/Doc/WPF/2012.2/CLR4.0/html/xamGantt_Code_Example_Changing_xamGantt_Column_Set.html.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support
Just checking in, did you have any other questions or concerns on this matter?
Sincerely,AndrewAssociate DeveloperInfragistics Incwww.infragistics.com/support