Mar 08, 2013, 1:20 AM
[CLOSED] Get all changed store data when store is filtered
Hello,
I use below code as extra parameter for batch saving of a grid store data.
Normally, if the store is filtered before save, changed records not matching filterFn are not in getChangedData collection. (I guess that is expected situation.)
Well, what I want to do is, saving all changed data while not clearing the store filter. How can I get all changed data on a filtered store? Can you suggest a replacement or workaround instead of getChangedData or suggest another way to filter grid view without filtering grid store?
Thanks.
I use below code as extra parameter for batch saving of a grid store data.
App.MyStore.getChangedData({skipIdForNewRecords : false})
UI allows user filter store with:App.MyStore.filterBy(filterFn);
Details: Grid panel store is filtered by TreePanel node select handler.Normally, if the store is filtered before save, changed records not matching filterFn are not in getChangedData collection. (I guess that is expected situation.)
Well, what I want to do is, saving all changed data while not clearing the store filter. How can I get all changed data on a filtered store? Can you suggest a replacement or workaround instead of getChangedData or suggest another way to filter grid view without filtering grid store?
Thanks.
Last edited by Daniil; Mar 12, 2013 at 5:44 AM.
Reason: [CLOSED]