Nested rows - call function on parent row expanding clicked

Tags: #<Tag:0x00007fd2c20bee00>

Is there any way to call method on nester rows parent ‘+’ sign clicked?

Hi @milan.mijailovic

I’m not sure what you mean. Can you share a draft?

Hi @aleksandra_budnik,

Thanks for quick response.

I need to call a function when clicked on ‘+’ sign near the row number (’+’ that expands children of that row).
I want to load children after clicking on mentioned sign, just for parent that user clicks on.

Hi @milan.mijailovic

the nestedRows plugin should already work this way


and if you mean loading a new set of children (that hasn’t been provided before), that you can use the ht_nestingButton class - as we do not have any hooks for collapsing the rows (yet).

Ht @aleksandra_budnik,

I Have found a way by using ‘afterUntrimRow’ of handsontable.

Thanks for your help

Good to know. Thanks for an update @milan.mijailovic

Welcome @aleksandra_budnik.

Thanks for your help :slight_smile: