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
725
Columns Nullable = Disallow
posted

I have an editable grid, with n columns that don't allow null (property Nullable = Disallow).
How can I control not be allowed to change rows until all columns have value?

Thanks

  • 71886
    Offline posted

    Hello,

    I am checking about the progress of this issue. Please let me know If you need any further assistance on this.

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    What I would do is use the BeforeRowUpdate event. You can examine the values of each cell in the row and if any of them are null, set e.Cancel to true.

    You may also want to set the RowUpdateCancelAction property on the grid to determine what happens when you cancel.