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: June 24, 2019).
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:

Created:

Updated:

Platform:

Replies:

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

Hello!

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:
https://www.syncfusion.com/kb/7446/how-to-adjust-row-heights-of-each-row-based-on-their-content
https://www.syncfusion.com/kb/9355/how-to-resize-the-row-based-on-the-height-of-multi-line-textbox-entry

I attach code samples.

Jarek














































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. 
 
Regards, 
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. 

Regards, 
Shobika. 


CONFIRMATION

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