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
Hello,
Please let me know If you have any further questions.
Thank you for using Infragistics Components.
If you don't want to loop through the row and create the cells, then which cells are you dealing with?
Do you need to evaluate every cell? Or do you only care about visible cells?
Thanks for the response. However some of our grids are quite large (> 100k rows), and the overhead of referencing the cell object is too expensive.
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.