Custom hook that handles commonly used functions for selected rows with an AG DataGrid.
Specifically, this will handle selecting and unselecting rows, as well as updating a row if it gets changed in the overall data.
Parameters:
Name | Type | Description |
---|---|---|
data |
Array.<*>
|
|
options |
object
|
|
field |
string
|
|
debug |
boolean
|