Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Word Wrap in Task Name
posted

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?

Parents
  • 48586
    Verified Answer
    posted

    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.

Reply Children
No Data