selectedRows property

List<DataGridRow> selectedRows

The collection of objects that contains object of corresponding to the selected rows in SfDataGrid.

Implementation

List<DataGridRow> get selectedRows => _selectedRows;
void selectedRows=(List<DataGridRow> newSelectedRows)

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');
}