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
close icon

WrupText

Good afternoon. I had a problem with functionality of WrupText. As an example I use the example of syncfusion.
Problem such is I propose properties on the cell of WrupText = true and AutoSize = true; I do not edit a cell(there is already a text in it) and diminish the width of cell so that text to be not placed. Thus I do not see the change of sizes of cell on a height. How to obtain such functionality me?

WrupText&Auto size_Test.zip

1 Reply

AD Administrator Syncfusion Team August 16, 2006 05:36 PM UTC

style.Autozize = true only affects the cell when your user types into the cell. It has no effect when your user changes the width of a column.

If you want to resize the row heights when your user changes a column with, then you can listen to the grid.Model.ColWidthsChanged event. In that handler, you can call grid.Model.RowHeights.ResizeToFit(GridRangeInfo.Col(e.From));

Loader.
Live Chat Icon For mobile
Up arrow icon