2 Replies Latest reply on Jul 18, 2008 1:11 PM by TransoniqHacker

    Prevent change event in DataGrid

    TransoniqHacker
      I have a datagrid that when an item is clicked, the complete data for that item populates a form where the user can edit it. I want to make it so if the user changes anything on the form, then clicks on another item in the datagrid, a warning comes up letting them know that they have changed the data and giving them a chance to save it before they change to another item.

      is this possible? I can keep track of when they change data, and I can pop up a warning when they change the selected row, but how can I prevent it from happening in the first place until they are given a chance to save the data?

      Thanks.