[GH #6454] How to collapse all child rows by-default in Handsontable

Tags: #<Tag:0x00007efc6482e7b0> #<Tag:0x00007efc6482e5f8>

Hi,

In my table , I have nested rows. I want to collapse all the rows while first load.

I tried using this.handsonTable.getPlugin(‘nestedRows’).collapsingUI.collapseAll(); but it collapses only parent rows not child.

Please find the below link for code base.

https://jsfiddle.net/mztbgapL/

Thanks

Hi @fayejitendra

there is no official method yet to collapse all the parents with their children.

I reported the need here https://github.com/handsontable/handsontable/issues/6454

ok Thanks for the update.

Hi @aleksandra_budnik,

Has this been fixed? Is there a way to collapse all rows (not just the top layer) in the hierarchy?

Hi @mariothomas

That is a feature request, not an issue as we never supported this functionality. At the moment is not scheduled for a future release. But I will make sure to notify you once it does.