|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
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.
|
|
#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? |
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble Saving ListGrid Data locally | superman859 | Smart GWT Technical Q&A | 5 | 15th Sep 2011 11:49 |
| Issue with dialog to cancel, save, or discard edits in ListGrid | senordhuff | Technical Q&A | 14 | 13th Dec 2006 09:42 |