Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,8 @@ class RowSelectionManager extends SelectionManagerBase {
return true;
}

return dataGridConfiguration.onSelectionChanging!(newItems, oldItems);
return dataGridConfiguration.onSelectionChanging!(
newItems, oldItems, _pressedRowColumnIndex);
}

void _raiseSelectionChanged(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ typedef QueryRowHeightCallback = double Function(RowHeightDetails details);

/// Signature for [SfDataGrid.onSelectionChanging] callback.
typedef SelectionChangingCallback = bool Function(
List<DataGridRow> addedRows, List<DataGridRow> removedRows);
List<DataGridRow> addedRows, List<DataGridRow> removedRows, RowColumnIndex rowColumnIndex);

/// Signature for [SfDataGrid.onSelectionChanged] callback.
typedef SelectionChangedCallback = void Function(
Expand Down