jpac
jpac

Reputation: 79

Ag-Grid enable checkbox selection for a single rowNode

By getting a rowNode by its ID, is there any way I can enable/disable the select checkbox?

Upvotes: 0

Views: 139

Answers (1)

GreyBeardedGeek
GreyBeardedGeek

Reputation: 30088

Not directly, but you can provide a callback function to the grid that takes a RowNode and returns a boolean.

Provide the function to the grid as the value of the GridOption's 'isRowSelectable' property.

Upvotes: 1

Related Questions