Skip to main content

Selection Plugin

Selection plugin enables users to select rows or cells. You can then retrieve the selected rows/cells from the plugin store.


Import the selection plugin from gridjs/plugins/selection:

import { RowSelection } from "gridjs/plugins/selection";

or use a CDN to import the UMD format:

<script src=""></script>

In UMD, the plugin globally exposed gridjs.plugins.selection, e.g:

Last updated on by Afshin Mehrabani