Skip to content

TreeView: add disabledNodeSelectionMode property to the .d.ts#32581

Open
pharret31 wants to merge 1 commit intoDevExpress:26_1from
pharret31:26_1_3472-treeview-prepare-dts-with-new-options
Open

TreeView: add disabledNodeSelectionMode property to the .d.ts#32581
pharret31 wants to merge 1 commit intoDevExpress:26_1from
pharret31:26_1_3472-treeview-prepare-dts-with-new-options

Conversation

@pharret31
Copy link
Contributor

No description provided.

@pharret31 pharret31 self-assigned this Feb 16, 2026
@pharret31 pharret31 marked this pull request as ready for review February 16, 2026 14:54
@pharret31 pharret31 requested review from a team as code owners February 16, 2026 14:54
Copilot AI review requested due to automatic review settings February 16, 2026 14:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds TypeScript declarations for a new disabledNodeSelectionMode option to the TreeView component. The option controls how selection behaves for disabled nodes, with two possible values: 'recursiveAndAll' (default) and 'never'.

Changes:

  • Added new DisabledNodeSelectionMode string literal union type
  • Added disabledNodeSelectionMode option to TreeView component with default value 'recursiveAndAll'
  • Updated Angular and Vue wrappers to support the new option

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/devextreme/js/ui/tree_view.d.ts Defines the new DisabledNodeSelectionMode type and adds disabledNodeSelectionMode option with documentation
packages/devextreme/js/ui/tree_view_types.d.ts Exports the new DisabledNodeSelectionMode type for external use
packages/devextreme/ts/dx.all.d.ts Adds the type and option to the bundled TypeScript declarations
packages/devextreme-vue/src/tree-view.ts Updates Vue wrapper to include the new option in props and type imports
packages/devextreme-angular/src/ui/tree-view/index.ts Updates Angular wrapper with Input/Output decorators for the new option

@pharret31 pharret31 changed the title TreeView: prepare d.ts with new options TreeView: add disabledNodeSelectionMode property to the .d.ts Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants