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
885
How do we display a text in mutliline for a cell in UltraGrid.
posted

I have a requirement as follows:

I have values like sanjeev, reddy, moola

I need to display these values in multiple lines for a cell.

that menas it should be displayed as

sanjeev

reddy

moola

I appended these strings with \n character and send to the grid.

However I am not able to see multiline value for the cell. It is displaying only one line i.e sanjeev and the rest is showed when I place the mouse over the cell. If click on the cell the whole text displayed in a single line as sanjeevreddymoola

And the row height should be dynamically set depends on the number of lines in the cell.I tried to set the height in IntializeRow method, and got successful.Is it correct way to do?

Can anyone please tell me the solutions for above two needs.

 

Thanks,

Sanjeev.