AD
Administrator
Syncfusion Team
July 11, 2003 11:53 PM UTC
A couple of points. Is grdQuickNotes a GridControl or a GridDataBoundGrid? A GridDataBoundGrid does not support RowStyles so your code would not work for that grid.
The other comment is that style.AutoSize only works for user typing into the grid. It does not work for programmatically changing a cell's value. In this case, you should call grid.Model.RowHeights.ResizeToFit to size the cells to fit.