Hi again :]
I am trying to get the hidden rows plugin to work in React to collapse / expand rows using a button in the table. I wasn’t able to get the hiddenRows
table prop to work in the table settings like <HotTable hiddenRows={{rows: [3, 4, 5]}} />
(even though it worked in jsfiddle) so I was trying to experiment with hiding / showing rows with calling the hideRow
and showRow
plugin functions like shown here (https://handsontable.com/docs/7.3.0/demo-hiding-rows.html#examples <- go to ‘api examples’), but it doesn’t seem to work like described in the docs. Any ideas what I’m doing wrong?
https://jsfiddle.net/7w52mkgd/1/
Thanks for looking,
Marc