Hello!
We are trying to imitate a file explorer using bryntum react tree gridhttps://bryntum.com/products/grid/examples/frameworks/react-vite/tree/dist/
The thing is that... we might need to represent 200.000+ nodes, and when we try to represent that dataset we get
Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
at _Collection.splice (https://clxproject.localhost/static/js/bundle.js:83520:14)
at _Collection.add (https://clxproject.localhost/static/js/bundle.js:83347:12)
at https://clxproject.localhost/static/js/bundle.js:180396:56
at TreeGrid.changeSelectedRecordCollectionSilent (https://clxproject.localhost/static/js/bundle.js:179168:22)
at TreeGrid.performSelection (https://clxproject.localhost/static/js/bundle.js:180396:12)
at TreeGrid.selectAll (https://clxproject.localhost/static/js/bundle.js:179744:12)
at TreeGrid.onCheckAllChange (https://clxproject.localhost/static/js/bundle.js:179377:48)
at CheckColumn.trigger (https://clxproject.localhost/static/js/bundle.js:64723:36)
at CheckColumn.onCheckAllChange (https://clxproject.localhost/static/js/bundle.js:154006:8)
at Checkbox.trigger (https://clxproject.localhost/static/js/bundle.js:64723:36)
When trying to use less nodes, we can see them, filter, search, open, but we have enabled the checkboxes, and the showCheckAll: true option, so when we try to select/unselect this checkbox it launches the same error. Sometimes when we scroll, like it updates the checkbox and it continues working, but it takes come time and also can block the browser, leaving it without response.
We have also tried to do the same without a tree grid, with: https://bryntum.com/products/grid/examples/frameworks/react/javascript/big-dataset/build/, but again when we add selectionMode it totally breaks
I will leave attached the tree grid and the grid tests that we have done, we work with react17 and "@bryntum/grid": "6.1.7", "@bryntum/grid-react": "6.1.7".
I understand that are cost operational tasks as well the data set is very large, we removed some options, made the data as simple as possible, tried many workarounds (lets leave by default all to true so there is only unselection) but we still get issues with very large datasets, specially at 50.000+ at a powerful laptop, and we will like to know if there is a solution before thinking in other approaches (pagination, custom solution...).
Thanks