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
180
UltraGrid.Text
posted

Hi:

 We are using the UltraGrid.Text property for displaying messages to the user. When the message to be displayed is longer than the width of the grid the text is truncated. The messages can vary in length and depending on the source of the message we cannot put in line breaks. I cannot find a property that will wrap this text or that will allow me to change the height of where this text is displayed.

I have tried setting the Grid.DIsplayLayout.Override.WrapHeaderText to true and this does not work, and I do not even think this applies to the Text property. Can anyone help with this, or suggest a different way to display messages to the user within the grid.

 

Thanks!

Parents
No Data
Reply
  • 835
    posted

    You can user the new line character '\n' in for the Grid.Text, it's the only character it accepts it does not accept the '\t'. 

    Sample:

    Grid.Text = "Hellow\nWorld";

Children