selectedIndex property

int get selectedIndex

An index of the corresponding selected row.

Implementation

int get selectedIndex => _selectedIndex;
set selectedIndex (int newSelectedIndex)

An index of the corresponding selected row.

Implementation

set selectedIndex(int newSelectedIndex) {
  if (_selectedIndex == newSelectedIndex) {
    return;
  }

  _selectedIndex = newSelectedIndex;
  _notifyDataGridPropertyChangeListeners(propertyName: 'selectedIndex');
}