在我的列定义中,我有这个:
{
headerName: 'All',
field: 'all',
headerCheckboxSelection: true,
headerCheckboxSelectionFilteredOnly: true,
checkboxSelection: true,
width: 40,
maxWidth: 40,
suppressFilter: true,
cellStyle: params => {
return { textAlign: 'center' }
}
},
但是当我按复选框选择时,我没有得到选中的行。任何建议我该怎么做,以使按复选框选择与行选择相同?
我正在从农业网格文档中使用它: https://www.ag-grid.com/javascript-grid-selection/