Skip to content

Commit

Permalink
do not allow to select pinned rows
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Jun 17, 2022
1 parent 57a2cbb commit e4a3c09
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,10 @@ export const useGridSelection = (
}
}

if (params.rowNode.isPinned) {
return;
}

if (event.shiftKey && (canHaveMultipleSelection || checkboxSelection)) {
expandMouseRowRangeSelection(params.id);
} else {
Expand Down

0 comments on commit e4a3c09

Please sign in to comment.