gridjs-selection plugin if you haven't already.
Follow the installation manual.
In order to install the Selection plugin, add a new column to the
columns list and instantiate the plugin:
In the example above, the 3rd cell (which is
row.cell(2).data) has been selected as the row identifier which is
the "Email" field. Note that the first cell is the checkbox column.
The selection plugin uses a Redux architecture and that means each selection instance has its own unique Store which keeps the list of selected rows.
Follow the Advanced Plugin article to learn more about writing Grid.js plugins!