Hi,
is it possible to hide the big left corner button ( field chooser button ) in the ultraGanttView ?
And in the left side of the Gantt, can we rename some column caption ? Like 'Task Name' for something else.
Thanks
This workaround works but it would be nice to include this feature in a next release.
Hello MN,
You could access the grid part from UltraGanttView via reflector, once you have the grid you could exclude specific column from column chooser. You could use code like:
UltraGrid ug = (UltraGrid)this.ganntView1.GetType().GetField("grid", System.Reflection.BindingFlags.CreateInstance | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).GetValue(this.ganntView1);
if (ug != null)
{
ug.DisplayLayout.Bands[0].Columns["Name"].ExcludeFromColumnChooser = ExcludeFromColumnChooser.True;
}
Please let me know if you have any further questions.
As far as I know, you can only show or hide the column chooser button. I don't know how to pick and choose which columns to show.
I hide some custom columns in the grid but users can still pick those from the column chooser. How do I remove those fields from there? I do not want to see them in column chooser. Is it possible? Thanks.
pomerleau_jf said:...hide the big left corner button ( field chooser button ) in the ultraGanttView ?
See UltraGanttView.GridSettings.RowSelectorHeaderStyle; not the most discoverable name, but this property controls what appears in the area above the row selectors which is where the column chooser button appears.
pomerleau_jf said:...rename some column caption ? Like 'Task Name' for something else.
See UltraGanttView.GridSettings.ColumnSettings[TaskName].Text