Hello, after integrating the nested rows successfully, we have found out a couple of things.
jsfiddle -> https://jsfiddle.net/kewdz3yr/2/
- Slow performance on medium data, more then ~2 thousand rows, the issue lies in
countAllRows
the recalculations are made all the time when expanding/collapsing rows, and it recalculates, going through all the data. In the jsfiddle above if we callcollapseAll
it takes a very long time to load.
We found a workaround, and we precalculate the rows count before we initialize the table.
It would be nice if that would be cached or precalculated. - When using
collapseAll
/expandAll
, the functions callsthis.collapseMultipleChildren(parentsToCollapse);
/this.expandMultipleChildren(parentsToExpand);
.
That triggers a render on the entire table throughthis.renderAndAdjust();
.
And after collapse/expand, the function calls againthis.renderAndAdjust();
, so we have multiple renders in 1 flow, we also fixed that by callingexpandMultipleChildren
/collapseMultipleChildren
withforceRender: false
. - Row Height headers don’t maintain the same height as the rows thus it seems broken. We are still trying to find a solution for that.
FYI: this is more of a feedback in case it was not reported, or not known.