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
225
Coloring of the cell on value basis
posted

Hi all ,

I added a code which colors cell of the column on its value basis.

it works fine while loading the control, but when value of the cell cahnges at runtime I want to capture the event and again call my method for coloring the cell on value basis so that it will work fine even a value changes at run time not only at loading time.

to satisfy above need I called the applyColor method in the event "CellChange", but this looses the color in between and again applies it. Not getting this unlikely behavior of the grid. Am I calling method in correct event? or it should be called in some other event?

Thanks in advance,

Yogesh 

 

  • 37774
    posted

    I think that the best event for doing this is the InitializeRow event, since this should fire again when the cell values change.

    -Matt