TreeView: update demo with new option disabledNodeSelectionMode#32621
Merged
pharret31 merged 14 commits intoDevExpress:26_1from Feb 20, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the TreeView ItemSelectionAndCustomization demo to showcase the new disabledNodeSelectionMode option. The option controls how disabled nodes behave during selection operations and supports two modes: 'never' (disabled nodes cannot be selected) and 'recursiveAndAll' (disabled nodes can be selected recursively or via select all). The demo adds one disabled node (Samantha Bright, COO) to demonstrate this feature across all framework implementations.
Changes:
- Added "Disabled Node Selection Mode" selector to demo UI across all frameworks
- Set the
disabled: trueproperty on the "Samantha Bright" node in all data files - Updated type definitions to include the
disabledproperty in Employee types - Added "Updated" badge to the demo in menuMeta.json
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/demos/menuMeta.json | Added "Updated" badge to ItemSelectionAndCustomization demo |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/jQuery/index.js | Added disabledNodeSelectionMode option initialization and SelectBox control |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/jQuery/index.html | Added UI container for Disabled Node Selection Mode selector |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/jQuery/data.js | Added disabled property to Samantha Bright node |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Vue/types.ts | Added disabled property to Employee type definition |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Vue/data.ts | Added disabled property to Samantha Bright node |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Vue/App.vue | Added disabledNodeSelectionMode prop binding and SelectBox control (missing event handler) |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/ReactJs/data.js | Added disabled property to Samantha Bright node and aria-label export |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/ReactJs/App.js | Added disabledNodeSelectionMode state, handler, and SelectBox control |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/React/types.ts | Added disabled property to Employee type definition |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/React/data.ts | Added disabled property to Samantha Bright node and aria-label export |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/React/App.tsx | Added disabledNodeSelectionMode state, handler, and SelectBox control |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Angular/app/app.service.ts | Added disabled property to Employee type and Samantha Bright node |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Angular/app/app.component.ts | Added disabledNodeSelectionMode property, array, and event handler |
| apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Angular/app/app.component.html | Added disabledNodeSelectionMode binding and SelectBox control; refactored list template from dxi-list-item to dxTemplate |
apps/demos/Demos/TreeView/ItemSelectionAndCustomization/jQuery/index.html
Outdated
Show resolved
Hide resolved
apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Angular/app/app.component.html
Show resolved
Hide resolved
apps/demos/Demos/TreeView/ItemSelectionAndCustomization/Vue/App.vue
Outdated
Show resolved
Hide resolved
apps/demos/testing/widgets/treeview/ItemSelectionAndCustomization.test.ts
Show resolved
Hide resolved
apps/demos/testing/widgets/treeview/ItemSelectionAndCustomization.test.ts
Show resolved
Hide resolved
apps/demos/testing/widgets/treeview/ItemSelectionAndCustomization.test.ts
Show resolved
Hide resolved
dmlvr
approved these changes
Feb 20, 2026
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.
No description provided.