MCPInstall

syncfusion-vue-treegrid

Implements Syncfusion Vue TreeGrid for hierarchical data with sorting, filtering, editing, exporting, paging, virtual scrolling, and advanced features. Supports configuration, CRUD, aggregates, templates, state persistence, and performance optimization in Vue applications.

Installs
63
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/vue-ui-components-skills --skill syncfusion-vue-treegrid
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-vue-treegrid automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Syncfusion Vue TreeGrid

The Syncfusion Vue TreeGrid is a powerful data visualization component for displaying hierarchical data in a tree-like structure with grid functionality. It provides features for sorting, filtering, editing, exporting, and advanced data management.

⚠️ Security & Trust Boundary

  • The TreeGrid skill does not perform any remote data access.
  • All external API interaction is handled by a separate DataManager skill outside this skill’s trust boundary.

Table of Contents

When to Use This Skill

Use this skill when you need to:

  • Display hierarchical or tree-structured data in a Vue application
  • Implement data editing, sorting, filtering, or searching functionality
  • Export data to Excel or PDF formats
  • Create responsive data tables with advanced features
  • Handle large datasets with virtual scrolling or pagination
  • Implement row selection, cell templates, and custom styling
  • Add keyboard navigation, drag-and-drop, and context menus
  • Fine-tune performance for complex data scenarios

Vue 3 Setup

📄 Read references/getting-started-vue3.md

  • Installation and package setup for Vue 3
  • Composition API setup
  • Data binding with Vue 3
  • Tree structure concepts

Vue 2 Setup

📄 Read references/getting-started-vue2.md

  • Installation and package setup for Vue 2
  • Basic TreeGrid configuration
  • Data binding fundamentals
  • Tree structure concepts

API Reference

Complete API documentation for all TreeGrid properties, methods, and events:

📄 Properties: references/properties.md

  • TreeGrid configuration properties
  • Option types and defaults

📄 Methods: references/methods.md

  • TreeGrid methods for programmatic operations
  • Method signatures and parameters

📄 Events: references/events.md

  • TreeGrid events and event handlers
  • Event trigger points

Data Structure & Binding

📄 Read: references/data-handling.md

  • Local and remote data source binding
  • Complex data binding with dot notation
  • Dynamic data updates and state persistence
  • Hierarchical data structure setup

Columns & Configuration

📄 Read: references/columns.md

  • Column definitions and properties
  • Column formatting and custom headers
  • Headers and custom header templates

Column Features

📄 Read: references/column-resizing.md

  • Column resizing strategies and configuration
  • Min and max width constraints
  • Auto-fit and manual resize modes

📄 Read: references/column-reorder.md

  • Column reordering and drag-drop configuration
  • Reorder events and state persistence
  • Programmatic reordering methods

📄 Read: references/column-spanning.md

  • Column span configuration for merged cells
  • Spanning rules and constraints
  • Complex spanning scenarios

📄 Read: references/column-menu.md

  • Column menu configuration and customization
  • Menu items and filtering from column menu
  • Column menu events

📄 Read: references/column-chooser.md

  • Column chooser for showing/hiding columns
  • Column chooser configuration and styling
  • Programmatic column visibility control

Frozen Columns & Rows

📄 Read: references/frozen-rows-and-columns.md

  • Frozen column configuration
  • Frozen row configuration
  • Left and right freezing
  • Scrolling with frozen columns and rows

Row Management & Features

📄 Read: references/row.md

  • Row detail templates for expanded content
  • Row indentation controls
  • Row styling and templates

📄 Read: references/selection.md

  • Cell and row selection modes
  • Checkbox selection configuration
  • Selection events and state management
  • Programmatic selection methods

Data Operations

Sorting

📄 Read: references/sorting.md

  • Single and multi-column sorting
  • Sort direction and initial sort configuration
  • Sort methods and programmatic sorting
  • Sort event handling

Searching

📄 Read: references/searching.md

  • Column-based searching
  • Global search across all columns
  • Real-time search filtering
  • Search methods and options

Filtering

📄 Read: references/filtering.md

  • Filter bar, filter menu, and excel-like filters
  • Filter configuration and templates
  • Advanced filtering with custom predicates
  • Programmatic filtering methods

Aggregation

📄 Read: references/aggregation.md

  • Aggregate types (sum, average, count, min, max)
  • Footer aggregates and custom aggregate templates
  • Aggregate configuration per column
  • Dynamic aggregate updates

Paging

📄 Read: references/paging.md

  • Paging setup and configuration
  • Page size modes (All vs Root level)
  • Programmatic page navigation
  • Pager customization

Scrolling & Large Data Handling

Virtual Scrolling

📄 Read: references/virtual-scrolling.md

  • Virtual scrolling architecture and performance
  • Row height and buffer configuration
  • Dynamic row height handling
  • Memory optimization with virtual scrolling

Infinite Scrolling

📄 Read: references/infinite-scrolling.md

  • Infinite scroll loading for large datasets
  • Load event and data fetching
  • Real-time loading indicators
  • Memory management patterns

Editing & Validation

📄 Read: references/editing.md

  • Inline editing, dialog editing, and batch editing modes
  • Cell editing and row editing workflows
  • Command column with action buttons
  • Edit event handling and custom validators

📄 Read: references/validation.md

  • Edit validation rules and patterns
  • Custom validators and error handling
  • Validation triggers (blur, submit, etc.)
  • Server-side validation integration

Toolbar & Commands

📄 Read: references/toolbar.md

  • Built-in toolbar items (Add, Edit, Delete, Export)
  • Custom toolbar buttons and actions
  • Toolbar templates and styling
  • Search and filtering from toolbar
  • Toolbar events and interaction

Export & Reports

Excel Export

📄 Read: references/excel-export.md

  • Excel export functionality and configuration
  • Headers and footers in Excel exports
  • Cell style customization
  • Server-side export options

PDF Export

📄 Read: references/pdf-export.md

  • PDF export functionality and configuration
  • Headers and footers in PDF exports
  • Page orientation and custom styling
  • Server-side export options

Performance & Display

📄 Read: references/immutable.md

  • Immutable data handling patterns
  • Change detection with immutable data
  • Performance benefits of immutable mode
  • Implementation strategies

📄 Read: references/scrolling.md

  • Virtual scrolling for large datasets
  • Infinite scroll loading
  • Horizontal and vertical scrolling
  • Frozen columns and rows

Appearance & Interaction

📄 Read: references/styling-and-appearance.md

  • CSS customization and styling
  • Theme modes and responsive design
  • Adaptive UI rendering
  • Cell features (wrapping, clipping, alignment)

📄 Read: references/adaptive.md

  • Adaptive UI behavior
  • Responsive design patterns
  • Mobile-friendly configurations

📄 Read: references/cell.md

  • Cell properties and configuration
  • Cell templates and styling
  • Cell interactions and editing

📄 Read: references/keyboard-navigation.md

  • Keyboard shortcuts and navigation patterns
  • Custom keyboard handlers
  • Accessibility considerations
  • Navigation between cells and rows

📄 Read: references/context-menu.md

  • Context menu configuration
  • Custom menu items and actions
  • Menu event handling

📄 Read: references/clipboard.md

  • Copy/paste operations
  • Clipboard configuration
  • Data transfer handling

Advanced Features & Configuration

📄 Read: references/print.md

  • Print functionality
  • Page layout and orientation
  • Print styling and customization

📄 Read: references/loading-animation.md

  • Loading animation configuration
  • State indicators and visual feedback
  • Custom loading templates

📄 Read: references/localization.md

  • Localization and internationalization
  • Language configuration
  • Translation of UI text

State Persistence

📄 Read: references/state-persistence.md

  • Persisting grid state (columns, sorting, filtering, selection)
  • Local storage and session storage options
  • State restoration on page reload
  • Best practices for state management

Modules

📄 Read: references/modules.md

  • Module injection and dependency resolution
  • Available modules (Sort, Filter, Page, Edit, etc.)
  • Tree Grid specific modules
  • Performance impact of module selection

Quick Start Example

<template>
  <ejs-treegrid :dataSource="data" :columns="columns" :treeColumnIndex="0" 
    :allowPaging="true" :pageSettings="pageSettings" :allowSorting="true">
  </ejs-treegrid>
</template>

<script setup>
import { ej2grid } from '@syncfusion/ej2-vue-grids';
import { provide } from 'vue';
import { TreeGridComponent as EjsTreegrid, Inject, Page, Sort } from '@syncfusion/ej2-vue-treegrid';

const data = [
  { TaskID: 1, TaskName: 'Planning', Duration: 10 },
  { TaskID: 2, TaskName: 'Design', Duration: 5 },
];

const columns = [
  { field: 'TaskID', headerText: 'Task ID', width: 90 },
  { field: 'TaskName', headerText: 'Task Name', width: 150 },
  { field: 'Duration', headerText: 'Duration', width: 100 },
];

const pageSettings = { pageSize: 10 };

provide('treegrid', [Page, Sort]);
</script>

For complete working examples, visit: ../code-snippet/treegrid/

Common Patterns

Pattern 1: Editable Data Grid with Validation

  1. Enable editing via allowEditing
  2. Set edit mode (inline or dialog)
  3. Configure editSettings
  4. Add Inject with Edit module
  5. Reference: code-snippet/treegrid/editing/

Pattern 2: Filterable & Sortable List

  1. Enable filtering with allowFiltering
  2. Enable sorting with allowSorting
  3. Configure filter settings
  4. Reference: code-snippet/treegrid/filtering/, code-snippet/treegrid/sorting/

Pattern 3: Paginated Large Dataset

  1. Enable paging with allowPaging
  2. Configure pageSettings with page size
  3. Bind to remote data source
  4. Reference: code-snippet/treegrid/paging/, code-snippet/treegrid/data-binding/

Pattern 4: Excel Report Export

  1. Configure TreeGrid with data
  2. Call excelExport() method
  3. Customize headers, footers, styling
  4. Reference: code-snippet/treegrid/excel/

Pattern 5: Advanced Selection

  1. Set selection mode (row, cell, or checkbox)
  2. Configure checkbox selection column
  3. Handle selection events
  4. Reference: code-snippet/treegrid/selection/

FAQ

What does the syncfusion-vue-treegrid skill do?

Implements Syncfusion Vue TreeGrid for hierarchical data with sorting, filtering, editing, exporting, paging, virtual scrolling, and advanced features. Supports configuration, CRUD, aggregates, templates, state persistence, and performance optimization in Vue applications.

How do I install syncfusion-vue-treegrid?

Run npx skills add https://github.com/syncfusion/vue-ui-components-skills --skill syncfusion-vue-treegrid in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-vue-treegrid/ (personal) or .claude/skills/syncfusion-vue-treegrid/ (project).

Which AI agents can use syncfusion-vue-treegrid?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-vue-treegrid safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-vue-treegrid?

It is published by syncfusion in syncfusion/vue-ui-components-skills. It has 63 recorded installs.

More from syncfusion/vue-ui-components-skills

View all →

syncfusion-vue-scheduler

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-grid

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-rich-text-editor

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-blockeditor

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-gantt-chart

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-barcode

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs