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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





150916 Jan 24,2020 06:21 AM UTC Jan 28,2020 07:41 AM UTC UWP 2
Tags: SfDataGrid
Asked On January 24, 2020 06:21 AM UTC

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

Saravanan Ayyanar [Syncfusion]
Replied On 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.

Saravanan Ayyanar [Syncfusion]
Replied On 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. 


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

Live Chat Icon For mobile
Live Chat Icon