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

Row isn't resized when we alter the data grid row position

Used DataGridRowHeightBehavior to resize the row according cell content. After removing and add the data grid row isn't resized.

Replication procedure:
1. Click the "Make data grid full" button
2. Scroll down the data grid 
3. Now notice the few rows aren't resized

Tried the code in following link but it isn't worked.

Please provide me the solution ASAP.

Attachment: DataGridRowCropping_c85cf560.zip

2 Replies

SA Saravanan Ayyanar Syncfusion Team January 27, 2020 02:32 PM UTC

Hi Satheesh, 
Thank you for contacting Syncfusion support. 
Currently, we are analyzing your reported scenarios. We will validate and update you the details on or before January 29, 2020.  
We appreciate your patience until then. 
Saravanan A.

SA Saravanan Ayyanar Syncfusion Team January 28, 2020 07:41 AM UTC

Hi Satheesh, 
Thank you for your patience. 
We have checked your reported scenario. You are adding the behavior for SfDataGrid and QueryRowHeight event unwired from the Detach method while removing the SfDataGrid. So, row resize not worked as expected. You can achieve this by adding the behavior for MainPage.   
We have modified the sample as per your requirement. 
Please find the modified the sample link: 
Please let us know, if you require further assistance on this. 
Saravanan A. 

Live Chat Icon For mobile
Up arrow icon