Hi,
I have scenario that based on selecting the parent records ,child records will filtered based on the selection using store filter functionality. when i used insert function in store to store record at particular index it is appending the record at the end of the grid , not at the particular index.Kindly help me out.
Insert.jpg (39.99 KiB) Viewed 1091 times
Re: [VUE 2] Insert is not working properly in store
grid.selectedRecord.parent.insertChild({id: 333, name : 'Hello'}, grid.selectedRecord);
Re: [VUE 2] Insert is not working properly in store
Posted: Tue Dec 06, 2022 1:40 pm
by thejas.pateel
Thanks for the reply i am using two different grid .based on selecting of first record in first grid. i am filtering in other grid.I am not using tree store.
filter.jpg (32.08 KiB) Viewed 1081 times
For while inserting to filtered record at particular index is not working.
But without filter inserting record at particular index is working fine .using store.insert
Re: [VUE 2] Insert is not working properly in store
Posted: Tue Dec 06, 2022 2:11 pm
by thejas.pateel
Hi,
I figured it out that the record is inserting at desired index But after filtering it going to last record /Row.So it seems that it is auto sorting after filtering .
Is there any way to stop auto sorting after filtering?
Re: [VUE 2] Insert is not working properly in store
Posted: Wed Dec 07, 2022 2:51 pm
by thejas.pateel
Hi,
We are working on this feature and would like to know if there is an update on this.
Thanks for your time
Re: [VUE 2] Insert is not working properly in store