简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM