I have a radgrid that is automatically put it edit mode on pre_render
When i try and style the rows nothing works, all the rows are white as opposed to alternating colours when not in edit mode. I have tried the following in the itemdatabound (works in non edit mode) but none of the styling appears when the grid/row is in edit mode
Any help on this would be greatly appreciated.
foreach (GridItem item in radgrdResultDetail.MasterTableView.Items) { if (item is GridEditableItem) { GridEditableItem editableItem = item as GridDataItem; editableItem.Edit = true; } }When i try and style the rows nothing works, all the rows are white as opposed to alternating colours when not in edit mode. I have tried the following in the itemdatabound (works in non edit mode) but none of the styling appears when the grid/row is in edit mode
if (Item["Status"].Text == "Reject") { foreach (GridColumn col in radgrdResultDetail.MasterTableView.AutoGeneratedColumns) { Item[col.UniqueName].ForeColor = Color.Red; } } }Any help on this would be greatly appreciated.