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
770
How to display new line in the grid?
posted

Hi guys.

I have a datatable to display some info in the grid.

Let say if the text in cell is too long and make it looks like this.

Column 1                   Column2

Class 1 (20                Class 2 (21

0 Student)                   5 student)

 

And I would like to make it looks like this.

Column 1                   Column2

Class 1                       Class 2 

(200 Student)            (215 student)

 

Is there any possible to add \n in the grid?

 

Parents
No Data
Reply
  • 53790
    posted

    Hello Engloon,

    Maybe one possible way to achieve desired bahavior could be if you are using EditorComponent for that columns. You could used for example UltraControlContainerEditor with UltraFormattedTextEditor. Please take a look at the attached sample and let me know if you have any questions

    Regards

     

    UltraGridWithFormattetTextEditor.zip
Children