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?
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.
Its Working Fine.
Thank You