ag-grid-row-unselectable
TypeScript icon, indicating that this package has built-in type declarations

10.0.1 • Public • Published

ag-Grid Row-Unselectable

A fork of ag-Grid which add the feature of disabling selection on row level.

How to use

Add "isNodeSelectable" property to the gridOptions , this property must be a function which accept a RowNode object as parameter and return a boolean value, the return value of this function will decide if the row can be selected or not.

eg:

 
        var gridOptions = {
            enableColResize: true,
            suppressRowClickSelection: true,
            rowSelection: 'multiple',
            columnDefs: columnDefs,
            isNodeSelectable: function (node) {
                return node.data.age >= 35;
            }
        };

Example in Plunker

Note

This feature can be used as a solution to issue Header Checkbox Not Able To Prevent Row Selection

Package Sidebar

Install

npm i ag-grid-row-unselectable

Weekly Downloads

10

Version

10.0.1

License

MIT

Unpacked Size

7.63 MB

Total Files

742

Last publish

Collaborators

  • tomli