You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ag-grid-row-unselectable

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-grid-row-unselectable

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

10.0.1
latest
Source
npmnpm
Version published
Weekly downloads
13
225%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

web-components

FAQs

Package last updated on 03 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.