ADAdministrator Syncfusion Team May 3, 2003 03:13 PM
In a GridDataBoundGrid, you cannot set rowstyles or individual cellstyles as there is storage allcoated for such object. In a GridControl, you can use rowstyles and set individual cell styles.
In a GridDataBoundGrid, you can set styles for rows or individual cells by handling the PrepareViewStyleInfo event. In it, if e.RowIndex points to the row want was to set teh styles on, and if e.ColIndex > 0, then set e.Style with the properties you want to use. You can also set individual cells readonly in PrepareViewStyleInfo.