Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to override listgrid ConfirmDiscardEdits popup save and cancel buttons

    Hi,
    I have a list grid with Mass update functionality.How can I override the ConfirmDiscardEdits popup/window in the listgrid. Please le me know how can I do this.


    Thanks

    #2
    I think you can setConfirmDiscardEdits to false and then watch on filter/sort changes on the grid. Then check hasChanges() and call saveAllEdits() or discardAllEdits() appropriately.

    Comment


      #3
      I would also like to override ConfirmDiscardEdits popup/window so that the user can see only 'OK' and 'Cancel' buttons and not the 'Save' button. I set setConfirmDiscardEdits to false, but could not find any handler which would actually stop calling the fetch operation on the data source until the user confirms to sort/filter or to cancel those operations.

      Could you please let me know how we could watch on filter/sort changes on the grid and do the appropriate operation?

      Comment

      Working...
      X