expandAllGroup method

void expandAllGroup()

Expands all the groups in the SfDataGrid.

Implementation

void expandAllGroup() {
  if (_dataGridStateDetails != null) {
    final DataGridConfiguration dataGridConfiguration =
        _dataGridStateDetails!();
    final Group grouping = dataGridConfiguration.group!;
    grouping.expandAll(grouping);
    notifyDataGridPropertyChangeListeners(dataGridConfiguration.source,
        propertyName: 'grouping');
  }
}