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

How to resize the row based on the Height of multi-line textbox cell and multi-line for GridMultiColumnDropDownList?

Thread ID:





144666 May 16,2019 11:21 AM UTC May 21,2019 12:59 PM UTC WPF 2
Tags: SfDataGrid
Jaroslaw Bazarko
Asked On May 16, 2019 11:25 AM UTC


How can I change the height of a row when editing a cell using TextBox (VerticalScrollBarVisibility is set Disabled) and  using multi-line GridMultiColumnDropDownList? 

The row height change must be during editing.

I have read the following articles but it did not help to solve my problem:

I attach code samples.


Attachment: Example_6619eab3.zip

Dinesh Babu Yadav [Syncfusion]
Replied On May 17, 2019 01:53 PM UTC

Hi Jaroslaw, 
Thank you for contacting Syncfusion Support. 
We have analyzed your query to update the row height based on content during editing itself when using TextBox and GridMultiColumnDropDownList. We are currently working to achieve your requirement and we will update you with further details on 21st May,2019. 
We will appreciate your patience until then. 
Dinesh Babu Yadav.  

Shobika Palani [Syncfusion]
Replied On May 21, 2019 12:59 PM UTC

Hi Jaroslaw, 

Thanks for your patience. 

We have analyzed your requirement to resize the row based on the content while editing itself with TextBox and MultiDropDownControl. You requirement can be achieved by calculating the cell height based on content in edit mode using ColumnSizer.GetAutoCellHeight method. Also you need to update the scrollbar for proper key navigation and scrolling.  

We have prepared a sample based on the code files you have provided to achieve your requirement. Please find it from the below link. 
Sample Link: 

Please let us know, if you require any further assistance on this. 



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