How to set word wrap in Task Name of ultraWinGanttView? In my cases Task name length is more. so i need to set word wrap. How to do it?
The problem with this wrapping is that despite the header height being increased for the grid to accomondate wrapping, the height of the headers in the calendar component do not change with it meaning that they are now out of sync. Is there anyway to change the height of the headers to match the now larger ones in the grid.
See below for what I mean.
Its Working Fine.
Thank You
Hello,
What you could do is to use code like :
UltraGrid ug = this.ganntView1.GetType().GetField("grid", System.Reflection.BindingFlags.CreateInstance | System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic).GetValue(this.ganntView1) as UltraGrid;
ug.DisplayLayout.Bands[0].Columns["Name"].CellMultiLine = DefaultableBoolean.True;
ug.DisplayLayout.Override.CellAppearance.TextTrimming = TextTrimming.EllipsisWord;
in order to allow cells of column “Name” to be multiline.
Please let me know if you have any further questions or I am missing something.