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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RowHeights settings are lost after column sort

Thread ID:





106109 Dec 11,2012 05:53 AM UTC Dec 13,2012 05:07 PM UTC WPF 1
Tags: GridControl
Mark MacNeil
Asked On December 11, 2012 05:53 AM UTC


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?


Rajasekar G [Syncfusion]
Replied On 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.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon