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
4695
row height auto size??
posted

Dear all,

In the ultragrid, I have the multiple line of desription field in the rows. How to set the row height to be auto size?? Is "\r\n" can split the description into different line of one record row??

description += "\r\n" + product[i].tostring();

Parents
No Data
Reply
  • 69832
    Verified Answer
    Offline posted

    Set UltraGrid.DisplayLayout.Override.RowSizing to 'AutoFree', and set the CellMultiLine property of the description column to true. I believe the cell does handle explicit line breaks, although you might want to use Environment.NewLine instead of hardcoded character sequences.

Children
No Data