Hi Tod,
When ResizeToFit method is called with a particular range of cells, Grid calls CellModel.OnQueryPreferredClientSize for all the cells in the range. By default, this method returns the size for the string"style.Text". If you want to resize the custom cell then you need to override a method in the model class called 'OnQueryPrefferedClientSize’. Through this method, you can return the proper size of the cell. The ResizeToFit() method will then use this method to get the correct size of the custom cell. Please try the below code snippet and let me know if this helps.
[c#]
protected override Size OnQueryPrefferedClientSize(Graphics g, int rowIndex, int colIndex, GridStyleInfo style, GridQueryBounds queryBounds)
{
Size s = base.OnQueryPrefferedClientSize (g, rowIndex, colIndex, style, queryBounds);
s.Height += yourHeight;
return s;
}
Also refer the below forum thread for individualized rowheights with grouping grid.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=56252Best regards,
Haneef