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
1560
UltraGrid editable
posted

 I am making my ultragrid editable. I was wondering what is the best way to handle user change. I thought of using BeforeRowUpdate, BeforeRowDelete, BeforeRowInsert to call the appropriate service to save the changes. 

 Is that a good way to proceed or there is a better way to do it?

Parents
  • 469350
    Verified Answer
    Offline posted

     It depends what you mean buy "handle user edit". Typicallyin a DotNet WinForms application, everything is done in batch. So you would provide the user with a Save button or prompt them to save when the form is closed and then save all the data to the back end at once.

    You would not use any of the "Before" events to save data, because these events occur before the grid has written to the underlying data source. All of this also depends on what kind of data source you are using. 

Reply Children