Hi, all,
I have one grid, which have one table as DataSource
e.g. MyGrid.DataSource = MyTable
After I change some values on the Cell e.g.
Row[0].Cells["Color"] = "R", then the Row[0].Appereance.BackColor = Color.RED
It works well, in InitializeRow Event
But if I change the value, then I lost the effekt,
I have called MyGrid.Rows.Refresh(RefreshRow.ReloadData, true, true)
and MyGrid.Rows.Refresh(RefreshRow.FireInitializeRow, true, true)
but both do not work, why?
Many thanks & greetings
I don't understand your question. What do you mean when you say you "lose the effekt?"
InitializeRow will fire every time a value in the row changes. So your code needs to account for this.
Hi, Mike,
grid.datasource = myDataSet
e.g. myDataSet has be changed by database user,
and actually the grid shows the changed rows correctly,
but the effekt what I wished is the changed rows.apperance.backcolor = RED. (before that is White)
...It does not work. I have tried with ultraGrid1_CellChange , ultraGrid1_AfterRowUpdate, and ultraGrid1_AfterCellUpdate events.
but failed, these event can not be fired. what I made wrong?
Thanks