Modal button in columns handsontable

Tags: #<Tag:0x00007efc64fbc3d8>

in a column, i have button in each cell to show modal data for that row. im using antd, is there anyway to have a button for this issue?

Hi @doanak000

You can use a custom cell renderer to attach a button. Here is an example https://jsfiddle.net/handsoncode/r1v0jtoa

its work for render button but function doAction is not work, im using class component to render hottable, so i dont know where to write do Action, i have try write doAction in cell function, try write it like other hooks, try write it outside class component, All not work

You can also try to use the afterOnCellMouseDown hook where event.target is your button.

1 Like