Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
645
InitializeRowEvent after value changed?
posted

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

Parents Reply Children
No Data