How do you select rows in grid?
JavaScript Data Grid: Row Selection. Select a row by clicking on it. Selecting a row will remove any previous selection unless you hold down Ctrl while clicking. Selecting a row and holding down Shift while clicking a second row will select the range.
How do I get all the selected rows in Ag grid?
To get the currently selected rows you can then use the grid API method getSelectedRows() to return a list of all the currently selected row data.