How to get handson table data array after child row collapsed

Tags: #<Tag:0x00007efc72835db8>

HI,

I have loaded the handson table in page load with 8 rows and

**Initial Load **: Handsontable.getData().lenght = 8

However, after collapsing child row getData() method is not including child rows in count.

After collapse: Handsontable.getData().lenght = 5

How to get whole data array after child row collapsed.

https://jsfiddle.net/usg31yet/

Thanks
Jitendra

Hi Jitendra,

Thank you for sharing the demo. I recommend referring to the getSourceData instead. Here’s an updated demo https://jsfiddle.net/62fL4jpz/