Private Sub My_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs) ' Handles UltraWebGrid1.InitializeRow e.Row.Cells(2).Style.BackColor = Drawing.Color.Red
hi, in my InitializeRow Event i want set the backcolor of a cell to red. but how can i find the right cell, if the grid is dynamic build?
in above code it is the cell 2 but it could be 5 oder 3
each column has its own key
Just read through your post again...
Are you using WinGrid? or WebGrid?
The stub says wingrid but the handles says webgrid.
WebGrid would be e.Row.Cells.FromKey("MyColumnKey").Style.BackColor = Drawing.Color.Red