AD
Administrator
Syncfusion Team
July 2, 2004 01:04 PM UTC
In your cell model class, you need to override CalculatePreferredCellSize, and in your override return the proper size for your cell based on the information passed in. This is the method that grid.Model.ColWidths.ResizeToFit and grid.Model.RowHeights.ResizeToFit calls to get the values it uses to determine the sizes.