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
175
Is there a way to tell if the text in the ultragrid has been truncated
posted

We pull data from a database and then present it to the user in the ultragrid.  If the user adjusts the column width on one or more columns, i need to be able to tell if the data has been truncated.  Is there a way to do this without incurring the memory overhead of the UltraGridCell object?

 

Currie

Parents
  • 48586
    posted

    Hello ,

     

    What you could do in your case is to iterate trough all cells of the column and to measure the text in order to see if this text could fit into the cell, Something similar is implemented in the attached sample. Please fill free to modify this sample based on your needs.

     

    I hope that this will helps you.

    104129.zip
Reply Children
No Data