/syncfusion-react:syncfusion-react-treegridfrom Syncfusion React UI Components
Implements Syncfusion React 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 React applications.
Ships in Syncfusion React UI Components. 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.
A comprehensive skill for implementing and customizing Syncfusion's React TreeGrid component. TreeGrid visualizes self-referential hierarchical data in a tabular layout with expand/collapse functionality, enterprise features like virtual scrolling, and comprehensive export options.
Use this skill when you need to:
The TreeGrid is optimized for displaying self-referential hierarchical data with:
Severity: 🔴 CRITICAL - Grid will not expand/collapse without this
Requirement:
// ✅ REQUIRED - Must match data property name exactly
<TreeGridComponent
dataSource={data}
childMapping='subtasks'>
<ColumnsDirective>
{/* Columns */}
</ColumnsDirective>
</TreeGridComponent>
// ❌ WRONG - Will not work
<TreeGridComponent
dataSource={data}>
{/* No childMapping = No expansion possible */}
</TreeGridComponent>
Data Format:
// ✅ CORRECT - childMapping matches 'subtasks' property
const data = [
{
TaskID: 1,
TaskName: 'Parent',
subtasks: [ // Must match childMapping value exactly
{ TaskID: 2, TaskName: 'Child' }
]
}
];
Exception: Use idMapping + parentIdMapping for flat parent-child structure:
// Alternative: Flat structure with parent IDs
<TreeGridComponent
dataSource={flatData}
idMapping='TaskID'
parentIdMapping='ParentID'
hasChildMapping='isParent'>
</TreeGridComponent>
Severity: 🟠 IMPORTANT - Type mismatches cause rendering/sorting issues
Requirement:
// ✅ CORRECT - Type matches column definition
const data = [
{
TaskID: 1, // number type
TaskName: 'Planning', // string type
StartDate: new Date(), // Date object for date columns
}
];
// Column definition must match data types
<ColumnsDirective>
<ColumnDirective field='TaskID' headerText='ID' type='number'></ColumnDirective>
<ColumnDirective field='TaskName' headerText='Task' type='string'></ColumnDirective>
<ColumnDirective field='StartDate' headerText='Date' type='date' format='yMd'></ColumnDirective>
</ColumnsDirective>
// ❌ WRONG - Type mismatch
const data = [
{
TaskID: '1', // String instead of number
StartDate: '02/03/2024' // String instead of Date object
}
];
📄 Property and Methods: references/programmatic-api.md
📄 Events Reference 📖 references/events-reference.md
📄 Paging 📖 references/paging.md
📄 Scrolling 📖 references/scrolling.md
📄 Frozen Rows and Columns 📖 references/frozen-rows-columns.md
📄 Virtual Scrolling & Infinite Scrolling 📖 references/virtual-scrolling-infinite-scrolling.md
📖 references/state-persistence.md
📖 references/loading-animation.md
📄 PDF Export 📖 references/pdf-export.md
📄 Excel Export 📖 references/excel-export.md
📄 Print 📖 references/print.md
📄 Column Reorder 📖 references/column-reorder.md
📄 Column Resize 📖 references/column-resize.md
📄 Column Menu 📖 references/column-menu.md
📄 Column Chooser 📖 references/column-chooser.md
📄 Command Column 📖 references/command-column.md
📖 references/server-integration.md
📖 references/validation-patterns.md
📖 references/performance-optimization.md
📖 references/styling-appearance.md
import React from 'react';
import { TreeGridComponent, ColumnsDirective, ColumnDirective, Inject, Page } from '@syncfusion/ej2-react-treegrid';
import { DataManager, UrlAdaptor } from '@syncfusion/ej2-data';
interface ITreeData {
TaskID?: number;
TaskName?: string;
parentID: number | null;
Children?: ITreeData[];
}
export default function App() {
const data: ITreeData[] = [
{
TaskID: 1,
TaskName: 'Planning',
parentID: null,
Children: [{ TaskID: 2, TaskName: 'Plan timeline', parentID: 1 }]
}
];
return (
<TreeGridComponent
dataSource={data}
childMapping="Children"
treeColumnIndex={1}
height="auto"
allowPaging={true}
>
<ColumnsDirective>
<ColumnDirective field="TaskID" headerText="Task ID" width={80} />
<ColumnDirective field="TaskName" headerText="Task Name" width={160} />
</ColumnsDirective>
<Inject services={[Page]} />
</TreeGridComponent>
);
}
| Property | Type | Default | Description |
|---|---|---|---|
dataSource | Array | DataManager | [] | Data source for TreeGrid |
childMapping | string | null | Property name for child records (e.g., "Children") |
idMapping | string | null | Property name for unique ID (flat data) |
parentIdMapping | string | null | Property name for parent ID (flat data) |
hasChildMapping | string | null | Property for lazy load indicator |
treeColumnIndex | number | 0 | Column index for tree expand icons |
expandStateMapping | string | null | Property for initial expand state |
references/accessibility.md (opens in a new tab)references/adaptive-view.md (opens in a new tab)references/aggregates.md (opens in a new tab)references/cell.md (opens in a new tab)references/clipboard.md (opens in a new tab)references/column-chooser.md (opens in a new tab)references/column-menu.md (opens in a new tab)references/column-reorder.md (opens in a new tab)references/column-resize.md (opens in a new tab)references/column.md (opens in a new tab)references/command-column.md (opens in a new tab)references/context-menu.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/editing.md (opens in a new tab)references/events-reference.md (opens in a new tab)references/excel-export.md (opens in a new tab)references/filtering.md (opens in a new tab)references/frozen-rows-columns.md (opens in a new tab)references/globalization.md (opens in a new tab)references/loading-animation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-react65 skills in this plugin
/syncfusion-react-3d-chartImplement Syncfusion React 3D Chart component from the @syncfusion/ej2-react-charts package. Use this skill when users need 3D column, bar, stacked column, stacked bar, or 100% stacked chart variations. Covers Chart3DComponent, axis configuration (category, numeric, datetime, logarithmic), data binding, multiple panes, data labels, legends, tooltips, selection, print/export, theming, and accessibility./syncfusion-react-3d-circular-chartImplements the Syncfusion React 3D Circular Chart component for pie and donut chart visualization. Use this when users need 3D circular charts, data labels, legends, tooltips, or empty point handling. Guides through installation, configuration, customization, and troubleshooting of 3D Circular Charts in React applications./syncfusion-react-accordionGuide users to implement Syncfusion React Accordion component for collapsible content panels. Use this skill whenever the user needs to create expandable/collapsible sections, accordion layouts, tabbed content panels, multi-step forms, FAQs, or navigation with expandable items. Covers component setup, expand modes, animations, dynamic content loading, styling, events, lifecycle, React hooks integration, and complete API reference.
Other plugins' skills for the same job