Treedata sort with incremental data #824
sapnildessai
started this conversation in
General
Replies: 1 comment 1 reply
-
Ok, I did some debugging in the lib and found out the problem.
Workaround that i did is, remove all children property when incremental data comes in and then feed it to slick grid. Possible solution:- we can put if condition to check if the item with given id is already present in p[childrenPropName] array if not then only push it else skip it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @ghiscoding ,
I have a requirement to update slickgrid data incrementally, However when doing so tree data sorting breaks and the reason being there are lot of duplicate entries in childrens array. Please find below screen
Here is the details requirement:-
If the grid is provided data after entire data set is ready then everything works fine. Its only when i assign data incrementally this problem occurs
Could you please guide me correct direction here?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions