Hi ,
We have customized the task edit popup where we created a new store (called Team Store) which contains all the grid information for all the tasks .On Clicking the taskbar, we are loading the grid information in a new store(that is the current Store) which is a filtered form of the Team store .
loadEvent(record) {
this.store.data = teamStore.data.filter(
(obj) => obj.taskid === record.id
);
},
Here we are applying crud operations where we do addition , deletion, and updating for the task records. Here we are able to get changes [added, modified, removed] for both the current Store and Team Store .
What we need is when we apply save, the values should be added to the main store. and on opening the task edit again that should be reflected, as a normal task edit save function. if we don't save, no changes to be added reflecting the previous one. We tried teamStore.commit() on save but the changes are not getting updated in the store.
how to achieve this?