selectedRows property
The collection of objects that contains object of corresponding to the selected rows in SfDataGrid.
Implementation
List<DataGridRow> get selectedRows => _selectedRows;
The collection of objects that contains object of corresponding to the selected rows in SfDataGrid.
Implementation
set selectedRows(List<DataGridRow> newSelectedRows) {
if (_selectedRows == newSelectedRows) {
return;
}
_selectedRows = newSelectedRows;
_notifyDataGridPropertyChangeListeners(propertyName: 'selectedRows');
}