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


Thread ID:





47957 Aug 16,2006 01:04 PM Aug 16,2006 01:36 PM Windows Forms 1
Tags: GridControl
Yuriy Stasiv
Asked On August 16, 2006 01:04 PM

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

Administrator [Syncfusion]
Replied On August 16, 2006 01:36 PM

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));


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.

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.