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
445
editing ultrawingrid
posted

I have bound the ultragrid to a datasource and added an empty row at the end for entering new values (MS Access style). The datatable requires has some required fields which are enforced in underlying datatable. Now when I try to do anything after the grid is loaded error message is poped up because it tries to update datatable with the empty row added at the end.

I want to control when the ultragrid tries to update underlying datatable and allow user to reenter the missing requied values.

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Instead of adding an empty row to your table, you should set AllowAddNew on the grid to TemplateOnBottom.

Children
No Data