feat: deprecate rowSelectionOptions and rename to selectionOptions#2325
Merged
ghiscoding merged 1 commit intomasterfrom Jan 22, 2026
Merged
feat: deprecate rowSelectionOptions and rename to selectionOptions#2325ghiscoding merged 1 commit intomasterfrom
rowSelectionOptions and rename to selectionOptions#2325ghiscoding merged 1 commit intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2325 +/- ##
=======================================
Coverage 100.0% 100.0%
=======================================
Files 200 200
Lines 24418 24419 +1
Branches 8582 8585 +3
=======================================
+ Hits 24418 24419 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
angular-slickgrid
aurelia-slickgrid
slickgrid-react
slickgrid-vue
@slickgrid-universal/binding
@slickgrid-universal/common
@slickgrid-universal/composite-editor-component
@slickgrid-universal/custom-footer-component
@slickgrid-universal/custom-tooltip-plugin
@slickgrid-universal/empty-warning-component
@slickgrid-universal/event-pub-sub
@slickgrid-universal/excel-export
@slickgrid-universal/graphql
@slickgrid-universal/odata
@slickgrid-universal/pagination-component
@slickgrid-universal/pdf-export
@slickgrid-universal/row-detail-view-plugin
@slickgrid-universal/rxjs-observable
@slickgrid-universal/text-export
@slickgrid-universal/utils
@slickgrid-universal/vanilla-bundle
@slickgrid-universal/vanilla-force-bundle
commit: |
|
🎉 This pull request is included in version 9.13.0 📦 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
deprecating
rowSelectionOptionsin favor of a rename toselectionOptionsfor the upcoming v10, I decided to do this change mostly because of the new Hybrid Selection Model since it now accepts options for different selection types (cell/row/mixed).gridOptions = { enableRowSelection: true, - rowSelectionOptions: { + selectionOptions: { selectActiveRow: false, } };in v10 (not before though), I will also replace rename and merge both
enableHybridSelectionandenableRowSelectioninto a single newenableSelectionoption and the user will then be able to define aselectionType(cell/row/mixed) if neededgridOptions = { - enableHybridSelection: true, - enableRowSelection: true, + enableSelection: true, - rowSelectionOptions: { + selectionOptions: { selectActiveRow: false, + selectionType: 'mixed', // type can be: ('cell','row','mixed') } };