/syncfusion-aspnet-core:syncfusion-aspnetcore-tree-viewfrom Syncfusion ASP.NET Core UI Controls
Implement the Syncfusion ASP.NET Core TreeView component for hierarchical data visualization. Use this when working with tree structures, node selection, checkboxes, or drag-and-drop operations. This skill covers data binding, node editing, and advanced tree configurations.
Ships in Syncfusion ASP.NET Core UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when you need to:
The Syncfusion TreeView is an enterprise-grade component that displays hierarchical data in a tree structure with powerful interactive features. It supports local and remote data binding, multiple selection modes, drag-and-drop operations, node editing, checkboxes, and comprehensive event handling.
Use this guide to navigate to the specific TreeView feature you need to implement:
📄 Read: references/getting-started.md
When you need to:
📄 Read: references/data-binding-and-fields.md
When you need to:
📄 Read: references/node-selection.md
When you need to:
📄 Read: references/node-expansion.md
When you need to:
📄 Read: references/checkboxes-and-checked-nodes.md
When you need to:
📄 Read: references/drag-and-drop.md
When you need to:
📄 Read: references/node-editing.md
When you need to:
📄 Read: references/templates-and-styling.md
When you need to:
📄 Read: references/node-manipulation.md
When you need to:
📄 Read: references/events-and-keyboard-navigation.md
When you need to:
📄 Read: references/api-reference.md
When you need to:
Here's a minimal example to get TreeView running immediately:
<ejs-treeview id="treeAdvanced" showCheckBox="true"
allowMultiSelection="true" allowDragAndDrop="true" allowEditing="true">
<e-treeview-fields dataSource="ViewBag.dataSource" id="id" parentId="pid" text="name" hasChildren="hasChild"></e-treeview-fields>
</ejs-treeview>
<ejs-treeview id="treeAdvanced" allowMultiSelection="false">
<e-treeview-fields dataSource="ViewBag.dataSource" id="id" parentId="pid" text="name" hasChildren="hasChild"></e-treeview-fields>
</ejs-treeview>
<ejs-treeview id="treeAdvanced" showCheckBox="true"
allowMultiSelection="true">
<e-treeview-fields dataSource="ViewBag.dataSource" id="id" parentId="pid" text="name" hasChildren="hasChild"></e-treeview-fields>
</ejs-treeview>
<ejs-treeview id="treeAdvanced" loadOnDemand="true">
<e-treeview-fields dataSource="ViewBag.dataSource" id="id" parentId="pid" text="name" hasChildren="hasChild"></e-treeview-fields>
</ejs-treeview>
<ejs-treeview id="treeRestricted" allowEditing="true" nodeEditing="nodeEditing" nodeEdited="nodeEdited">
<e-treeview-fields dataSource="ViewBag.dataSource" id="id" text="name"></e-treeview-fields>
</ejs-treeview>
<script>
function nodeEditing(args) {
if (args.newText.length < 3) {
args.cancel = true;
}
}
function nodeEdited(args) {
console.log('Node text updated to:', args.newText);
}
</script>
<ejs-treeview id="treeNodeDrag" allowDragAndDrop="true"
nodeDragStart="onDragStart"
nodeDropped="nodeDropped">
<e-treeview-fields dataSource="ViewBag.dataSource" id="id" text="name"></e-treeview-fields>
</ejs-treeview>
<script>
function onDragStart(args) {
if (!args.nodeData.pid) {
args.cancel = true;
}
}
function nodeDropped(args) {
console.log('Node dropped successfully');
}
</script>
| Property | Type | Default | Purpose |
|---|---|---|---|
fields | FieldsSettings | - | Configure data source and field mappings |
dataSource | array | DataManager | [] | Data source for TreeView nodes |
showCheckBox | boolean | false | Show checkboxes for node selection |
allowMultiSelection | boolean | false | Enable multi-node selection |
allowDragAndDrop | boolean | false | Enable drag-and-drop operations |
allowEditing | boolean | false | Enable in-place node editing |
allowTextWrap | boolean | false | Wrap node text for overflow |
loadOnDemand | boolean | true | Load child nodes on parent expand |
fullRowSelect | boolean | false | Select entire row instead of text |
fullRowNavigable | boolean | false | Navigate entire row with keyboard |
expandOn | string | 'Click' | Action to expand/collapse (Click, DblClick, None) |
sortOrder | string | 'None' | Sort nodes (None, Ascending, Descending) |
selectedNodes | string[] | [] | Selected node IDs |
checkedNodes | string[] | [] | Checked node IDs |
expandedNodes | string[] | [] | Expanded node IDs |
cssClass | string | '' | Custom CSS classes |
disabled | boolean | false | Disable TreeView interaction |
enablePersistence | boolean | false | Persist state between page reloads |
enableRtl | boolean | false | Right-to-left rendering |
Display a hierarchical file system with folders and files, enabling users to browse, select, and manage files.
Key Features: Hierarchical data, icons for file/folder types, multi-select, drag-drop for moving files, context menu for operations.
Related References: data-binding-and-fields.md, templates-and-styling.md, drag-and-drop.md
Show company hierarchy with employees organized by departments and teams.
Key Features: Hierarchical data, node templates for employee details, search/filter, single selection, expand/collapse.
Related References: data-binding-and-fields.md, templates-and-styling.md, node-selection.md
Display hierarchical permissions or roles where users select multiple permissions for roles.
Key Features: Checkboxes, multi-select, parent-child dependency, auto-check propagation, checkbox events.
Related References: checkboxes-and-checked-nodes.md, node-selection.md
Browse product categories with filtering and search capability.
Key Features: Large dataset with load-on-demand, single selection, keyboard navigation, expand-on-click.
Related References: data-binding-and-fields.md, node-expansion.md, events-and-keyboard-navigation.md
Allow administrators to create and edit hierarchical menu structures.
Key Features: Node editing, add/remove/move nodes, templates, drag-drop, in-place editing with validation.
Related References: node-manipulation.md, node-editing.md, templates-and-styling.md
The Syncfusion TreeView component provides a complete solution for displaying and interacting with hierarchical data. It combines powerful data binding capabilities with rich interactive features like multi-selection, drag-and-drop, editing, and checkboxes. With extensive customization options through templates and styling, you can create sophisticated tree-based interfaces that meet any business requirement.
Start with the Getting Started reference to set up your first TreeView, then explore specific features using the documentation guide above based on your requirements.
Next Steps: Choose your first task from the Documentation and Navigation Guide section and follow the reference guide to implement your TreeView feature.
references/api-reference.md (opens in a new tab)references/checkboxes-and-checked-nodes.md (opens in a new tab)references/data-binding-and-fields.md (opens in a new tab)references/drag-and-drop.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/node-editing.md (opens in a new tab)references/node-expansion.md (opens in a new tab)references/node-manipulation.md (opens in a new tab)references/node-selection.md (opens in a new tab)references/templates-and-styling.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-core66 skills in this plugin
/syncfusion-aspnetcore-3d-chartGuide for implementing Syncfusion 3D Chart in ASP.NET Core. Always use this skill when user needs 3D chart functionality, data visualization, series configuration, axes setup, or interactive chart features like tooltips and selection. Covers setup, data binding, chart types, styling, and user interactions./syncfusion-aspnetcore-accordionImplement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support./syncfusion-aspnetcore-Other plugins' skills for the same job