I am using ultrawebgrid.For a perticular column i want to change the behaviour of each cell like forecolor,backcolor and editable.i have written this code in the initializeRow event of grid.This is working fine when the grid is being loaded for the first time.But when i am traversing the pages of grid the properities like forecolor and allowedit of the cells are getting changed.
Eg. - It is working fine in loading and also when i am clicking the next button.But wen i am coming back to previous page of grid the properties are not behaving properly.
for(int i=0;i< e.Row.Cells.Count;i++){........ }if(blneditable){
if (cell.Key == "Something") { cell.Style.ForeColor = Color.Blue; cell.AllowEditing = AllowEditing.Yes; cell.Style.Cursor = Infragistics.WebUI.Shared.Cursors.Hand; }}else{ if (cell.Key == "Something") { cell.Style.ForeColor = Color.Gray; cell.AllowEditing = AllowEditing.No; cell.Style.Cursor = Infragistics.WebUI.Shared.Cursors.Default; } }