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
378
To change null value to 0 before leaving the edited cell in grid
posted

Hello

I need to  change null value to 0 before leaving the edited cell in grid.

Please tell me, how can I do it?

I've tried to ask this question here http://news.infragistics.com/forums/t/7082.aspx?PageIndex=2

But as I understand now you don't answere in branches, which have answered status.

Parents
No Data
Reply
  • 17259
    Offline posted

    Use BeforeCellDeactivate event. Check if e.Cell.Value is null. If so, set e.Cell.Value = 0.

Children