Free Support Forum - aspose.com

Sorting changes row heights

Hi guys, hope all is well. Regarding grid web:

After I import a dataview I loop throught all rows and use .SetRowHeight to set the row height based on the contents (string length) of the text in certain cells in the row. I also use a Hyperlink to sort columns.

When I sort the table the row heights change. Does the set row height not stay with the row?

This is a problem as you may well see. Any suggestions?

Rob

Sorry, never mind. I got it working. The algorithm to adjust two or more columns is complicated. An autoadjust feature would be nice.

rb