We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

RowHeights settings are lost after column sort

Hello,

I am dynamically setting the height of a header row in my grid using something like:

datagrid.Model.RowHeights[0] = 45;

This works as expected and the row height is increased correctly in the grid. 

However, when a column header is clicked to perform a sort action, the row height setting is removed and the row returns to it's default height.  There are probably other actions in addition to column sort that would trigger this so I am wondering if there is either a workaround or a different approach to set the row height so that the setting is maintained throughout the grid's lifetime?

Thanks,
Mark



1 Reply

RG Rajasekar G Syncfusion Team December 13, 2012 05:07 PM UTC

Hi Mark,

 

Sorry for the inconvenience caused. We have tested the reported issue in different scenario but we are unable to reproduce the issue. Could you please check the below sample and Video?

 

Sample: GridDataControlRowHeight.zip

Video: VideoRowHeight.zip

 We suspect you are using our grid in some other scenario, So If possible could you please modify our sample and revert us with replication procedure, that would be very helpful to resolve your problem earlier.

 

Please let know if you have any queries.

 

Thanks,

Rajasekar


Loader.
Live Chat Icon For mobile
Up arrow icon