How can I collapse all rows per default using Nested Rows plugin?
When I search this issue, I can see some answers that refers to doing the following:
It refers to the collapseUI property on the NestedRows plugin, and then using it to collapse a row:
let collapseUI = this.Handsontable.getPlugin(‘nestedRows’).collapseUI
However, this doesn’t work with latest Handsontable, Typescript throws a compilation error. The property is not available via the public api. I can see that it is an internal property.
Is there any way of collapsing all the rows with the latest Handsontable version?
Best wishes, Anders