Help me choose row/ multi rows when click row of hansontable

Tags: #<Tag:0x00007efc834d3b00> #<Tag:0x00007efc834d2a20>

I want to click choose row of table when click any location of row.
And i aslso want to hide rowHeaders

Hi @vuongle.angular

To hide row headers on the button click you can use the instance.updateSettings({rowHeaders: false}).

And to select a whole row when someone clicks a cell you can use the afterOnCellMouseDown hook (ref: https://handsontable.com/docs/javascript-data-grid/api/hooks/#afteroncellmousedown) to execute instance.selectCell() (ref: https://handsontable.com/docs/javascript-data-grid/api/core/#selectcell). This methods allows you to select many cells at once.

1 Like