I have an ag-grid with a simple checkboxSelection and would like to have some rows "checked" when loading the grid/data.
{
headerName: ' ',
colId: 'select',
checkboxSelection: true,
headerCheckboxSelection: false,
width: 22,
maxWidth: 22,
suppressToolPanel: true,
suppressMenu: true,
suppressSorting: true,
suppressSizeToFit: true,
suppressMovable: true,
suppressFilter: true,
suppressResize: true,
pinned: 'left'
},
Is there a callback I can use to set the selection state of a row?