跳到主内容
智客 ZICQ

技能库 智客分类:Agent 工作流 syncfusion-react-grid

Syncfusion React Grid

执行功能丰富的数据表和网格的同步重置网格组件. 在与数据显示、排序、过滤、分组、汇总、编辑或导出工作时使用此功能。 这种技能涵盖网格配置,CRUD操作,虚拟滚动或无限滚动,分级网格,状态持久性,以及数据密集型应用的高级数据管理功能.

764 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

执行功能丰富的数据表和网格的同步重置网格组件. 在与数据显示、排序、过滤、分组、汇总、编辑或导出工作时使用此功能。 这种技能涵盖网格配置,CRUD操作,虚拟滚动或无限滚动,分级网格,状态持久性,以及数据密集型应用的高级数据管理功能.

何时用

这个技能(# 当- 使用- 这技能)

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Syncfusion React Grid、⚠️ Security & Trust Boundary、Table of Contents、When to Use This Skill、Component Overview、Mandatory Rules for Inbuilt API。

文件分析

文件分析:除 SKILL.md 外,正文引用了 references/properties-configuration.md、references/programmatic-api.md、references/events-catalog.md、references/adaptors.md、references/getting-started.md、references/data-binding.md,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

Implements Syncfusion React Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

Syncfusion React Grid⚠️ Security & Trust BoundaryTable of ContentsWhen to Use This SkillComponent OverviewMandatory Rules for Inbuilt APIRule 1: Module Injection Required for Feature MethodsRule 2: Properties vs Methods - Know the DifferenceFeature Navigation GuideGetting Started & SetupData ManagementColumn Configuration

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
syncfusion-react-grid
description
Implements Syncfusion React Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 6
  • references/properties-configuration.md
  • references/programmatic-api.md
  • references/events-catalog.md
  • references/adaptors.md
  • references/getting-started.md
  • references/data-binding.md

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「syncfusion-react-grid」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-ec9dd3a75e8b3578-%E5%90%8C%E6%AD%A5%E9%87%8D%E7%8E%B0%E7%BD%91%E6%A0%BC.html
请存为 .cursor/skills/syncfusion-react-grid/SKILL.md 或 .claude/skills/syncfusion-react-grid/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/syncfusion/react-ui-components-skills 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/syncfusion/react-ui-components-skills' --list

npx skills add 'https://github.com/syncfusion/react-ui-components-skills' --skill 'syncfusion-react-grid'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: syncfusion-react-grid description: Implements Syncfusion React Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications. metadata: author: "Syncfusion Inc" version: "34.1.29" category: "Grids" --- # Syncfusion React Grid The Syncfusion React Grid is a comprehensive, feature-rich component for displaying and manipulating tabular data. It provides extensive functionality for data binding, paging, sorting, filtering, grouping, editing, exporting, scrolling modes, row/column customization, and advanced state management to handle datasets of any size and complexity efficiently. ## ⚠️ Security & Trust Boundary - The Grid 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](#when-to-use-this-skill) - [Component Overview](#component-overview) - [Mandatory Rules for Inbuilt API](#mandatory-rules-for-inbuilt-api) - [Feature/Skill Navigation Guide](#feature-navigation-guide) - [Quick Start Example](#quick-start-example) ## When to Use This Skill Use the Syncfusion React Grid when you need to: - **Display tabular data** with rows and columns in a React application - **Handle large datasets** efficiently with paging, virtual scrolling, or infinite scrolling - **Enable sorting, filtering, and searching** for single or multiple columns - **Edit data inline** with multiple edit modes (Inline, Batch, Dialog) - **Export data** to Excel or PDF formats with customization - **Group and aggregate data** with summaries and calculations - **Customize rows and cells** with templates and styling - **Manage complex column configurations** (frozen columns, spanning, reordering, resizing) - **Optimize performance** when rendering thousands of records - **Persist grid state** for user preferences and configuration - **Provide responsive data views** for different screen sizes ## Component Overview The Grid component provides: - **Data Binding**: Support for local arrays, remote data sources, and DataManager integration - **Paging**: Client-side pagination with customizable page size and navigation - **Sorting**: Single and multi-column sorting with custom comparers - **Filtering**: Multiple filter modes (Filter Bar, Filter Menu, Excel-like filter) - **Searching**: Global search across columns - **Grouping**: Group data by columns with aggregates and lazy loading - **Selection**: Row, cell, and column selection with checkbox support - **Editing**: Inline, Batch, and Dialog modes with validation and templates - **Aggregates**: Sum, Average, Count, Min, Max with footer, group, and caption display - **Exporting**: Excel and PDF export with templates and server-side support - **Scrolling**: Standard, Virtual, and Infinite scrolling modes - **Row Customization**: Templates, detail views, drag-drop, pinning, spanning - **Column Customization**: Templates, resizing, reordering, freezing, spanning - **Performance**: Optimized rendering for large datasets - **Responsive Design**: Adaptive layouts for different screen sizes - **Module System**: Feature-based modules to reduce bundle size ## Mandatory Rules for Inbuilt API **CRITICAL**: Follow these rules when using Grid's inbuilt API (137+ methods, 65+ events, 95+ properties): ### Rule 1: Module Injection Required for Feature Methods Methods only work if their module is injected. No error thrown if module missing. | Method | Required Module | Example | |--------|----------------|---------| | `goToPage()` | `Page` | `` | | `sortColumn()` | `Sort` | `` | | `filterByColumn()` | `Filter` | `` | | `addRecord()`, `deleteRecord()` | `Edit` | `` | ### Rule 2: Properties vs Methods - Know the Difference - **Properties**: Set via JSX props (``) - **Methods**: Call via ref (`gridRef.current.goToPage(2)`) - Can't set properties via methods or call methods via props --- 📄 **Full Properties API Reference:** [references/properties-configuration.md](references/properties-configuration.md) 📄 **Full Methods API Reference:** [references/programmatic-api.md](references/programmatic-api.md) 📄 **Full Events API Reference:** [references/events-catalog.md](references/events-catalog.md) 📄 **Backend Integration:** [references/adaptors.md](references/adaptors.md) --- ## Feature Navigation Guide ### Getting Started & Setup 📄 **Read:** [references/getting-started.md](references/getting-started.md) - Installation and package setup - Basic component initialization - CSS imports and theme configuration - Simple data binding example - Module injection ### Data Management 📄 **Read:** [references/data-binding.md](references/data-binding.md) - Local data binding with arrays - Remote data with DataManager - Loading indicators (Spinner, Shimmer) - Data source configuration ### Column Configuration 📄 **Read:** [references/columns.md](references/columns.md) - Column definition and properties - Column types (string, number, date, boolean, checkbox) - Column width and auto-fit - Column templates and custom rendering - Column features (spanning, reordering, resizing, freezing) ### Aggregation & Summaries 📄 **Read:** [references/aggregates.md](references/aggregates.md) - Footer aggregates (Sum, Avg, Count, Min, Max, etc.) - Group footer aggregates - Group caption aggregates - Custom aggregate functions - Reactive aggregate updates ### Navigation & Pagination 📄 **Read:** [references/paging.md](references/paging.md) - Enable and configure paging - Page size and navigation - Page change events - Customizing pager UI - Query string integration ### Sorting Data 📄 **Read:** [references/sorting.md](references/sorting.md) - Single and multi-column sorting - Sort direction control - Initial sort configuration - Custom comparers - Prevent sorting for specific columns ### Filtering **Start here:** 📄 Read [references/filter-setup.md](references/filter-setup.md) — Enable filtering, choose filter type (FilterBar, Menu, Excel, CheckBox) **Choose your type:** - 📄 Read [references/filter-types.md](references/filter-types.md) — All 3 filter types: FilterBar (inline text), Menu (operators), Excel (checkboxes) - 📄 Read [references/filter-operators.md](references/filter-operators.md) — All 21+ operators, syntax, wildcards, AND/OR logic ### Searching 📄 **Read:** [references/searching.md](references/searching.md) - Grid search functionality - Global search across columns - Search with filter integration - Case-sensitive search options ### Grouping Data 📄 **Read:** [references/grouping.md](references/grouping.md) - Enable grouping by columns - Group by multiple columns - Caption templates - Group footer aggregates - Lazy-load grouping for performance ### Selection 📄 **Read:** [references/selection.md](references/selection.md) - Row, cell, column selection modes - Checkbox selection - Multiple selection handling - Selection events and methods - Programmatic selection ### Editing 📄 **Read:** [references/editing.md](references/editing.md) - Enable editing (allowEditing, allowAdding, allowDeleting) - Edit modes: Inline, Batch, Dialog - Edit triggers (double-click, toolbar, keyboard) - Custom edit templates - Validation rules and error handling - Primary key configuration > ⚠️ `isPrimaryKey={true}` is required on the key column — editing silently fails without it. ### Row Features 📄 **Read:** [references/row.md](references/row.md) - Row templates - Detail templates (expand/collapse) - Row drag and drop - Row pinning - Row spanning - Row selection and events ### Exporting 📄 **Read:** [references/excel-export.md](references/excel-export.md) - Basic Excel export functionality - Export options and configuration - Exporting with column templates - Server-side export - Formatting and styling in exports 📄 **Read:** [references/pdf-export.md](references/pdf-export.md) - PDF export setup - Headers and footers - Export options and customization - Exporting with templates - Server-side PDF export - Page orientation and sizing ### Scrolling Modes 📄 **Read:** [references/scrolling.md](references/scrolling.md) - Standard scrolling - Virtual scrolling (performance optimization) - Infinite scrolling - Scrollbar customization - Height and width configuration > ⚠️ `height` is required — scroll is silently disabled without it. Do NOT combine with `allowPaging` in virtual scrolling and infinite scrolling. | Rows | Mode | Key Config | |---|---|---| | < 1,000 | `allowPaging` | `Page` module | | 1K – 100K | `enableVirtualization` + `height` | `VirtualScroll`, no paging | | Continuous | `enableInfiniteScrolling` + `height` | `InfiniteScroll` | | 100K+ grouped | `enableVirtualization` + `lazyLoadGrouping` | `VirtualScroll`, `Group` | ### Freezing & Pinning 📄 **Read:** [references/frozen.md](references/frozen.md) - Freeze columns - Freeze rows - Freeze headers - Row pinning - Frozen column behavior ### Toolbar 📄 **Read:** [references/toolbar.md](references/toolbar.md) - Built-in toolbar items - Custom toolbar buttons - Toolbar icons and events - Edit toolbar integration - Toolbar item templates ### Context Menu 📄 **Read:** [references/context-menu.md](references/context-menu.md) - Built-in context menu items - Custom context menus - Context menu configuration - Context menu events ### Cell Operations 📄 **Read:** [references/cell.md](references/cell.md) - Cell editing and selection - Cell templates - Cell value formatting - Cell ranges and operations - Cell focus and navigation 📄 **Read:** [references/clipboard.md](references/clipboard.md) - Copy and paste functionality - Clipboard events - Custom clipboard actions - Copy column headers - Paste from external sources ### Printing 📄 **Read:** [references/print.md](references/print.md) - Print grid - Print templates - Print customization - Print specific rows/columns - Print orientation and sizing ### Styling & Appearance 📄 **Read:** [references/style-and-appearance.md](references/style-and-appearance.md) - CSS customization - Themes (Material, Bootstrap, Fabric) - Dark mode support - Inline styling and classes - Custom color schemes - Component size modes > ⚠️ `rowDataBound` and `queryCellInfo` fire on every render — no API calls inside them. > ❌ **Never** add both a column `template` and a `rowDataBound` handler targeting the same field — this produces duplicate, conflicting styling logic. ### Hierarchy & Nested Data 📄 **Read:** [references/hierarchy-grid.md](references/hierarchy-grid.md) - Parent-child data structures - Child grid - Expand and collapse behavior - Nested grid templates - Detail row templates - Hierarchical data configuration ### Adaptive Mode 📄 **Read:** [references/adaptive.md](references/adaptive.md) - **enableAdaptiveUI**: Render filter, sort, column chooser, and edit dialogs in full-screen mode for better mobile usability. Apply `e-bigger` class to parent element. - **Vertical row rendering**: Set `rowRenderingMode="Vertical"` to display row elements vertically instead of horizontally (default is Horizontal). - **Vertical rendering features**: Supports paging, sorting, filtering, selection, dialog editing, aggregates, infinite scroll, and toolbar options. - **rowRenderingMode note**: Column Menu (grouping, sorting, autofit, filter, column chooser) only works in Horizontal mode. - **AdaptiveUIMode property**: Use `"Mobile"` to render adaptive layout only on mobile screens, or `"Both"` (default) for both mobile and desktop. - **Mobile screen optimization**: Render adaptive dialogs and vertical layouts automatically when enableAdaptiveUI is enabled. ### Configuration Management 📄 **Read:** [references/global-local.md](references/global-local.md) - Global grid settings - Local column configuration - Configuration precedence - Configuration merging 📄 **Read:** [references/state-management.md](references/state-management.md) - Persist grid state - Save and restore grid state manually - Restore grid to initial state - Prevent specific properties from persisting - Persist column templates and header text ⚠️ **Rule**: `enablePersistence={true}` must be enable when use state management in grid. ### Module System & Architecture 📄 **Read:** [references/modules.md](references/modules.md) - Grid module architecture and feature-based modules - 30+ available modules and their dependencies - Module injection patterns - Feature-module mapping - Bundle optimization and lazy loading - Conditional module loading - Every feature in the Syncfusion React Grid requires **explicit module injection** via ``. Without injection, the feature is silently ignored — no error is thrown. ⚠️ **Rule**: `` must be the **last child** inside ``. ### Data Connectivity & Adaptors 📄 **Read:** [references/adaptors.md](references/adaptors.md) - 7 adaptor types for backend integration - UrlAdaptor, ODataV4Adaptor, WebApiAdaptor, GraphQLAdaptor - Custom adaptors and RemoteSaveAdaptor - Backend configuration examples (C#, Node.js) - Request/response format specifications - Error handling and adaptor comparison ### Performance Optimization 📄 **Read:** [references/performance.md](references/performance.md) - Virtual scrolling for 10,000+ records - Infinite scrolling and progressive loading - Memory management and cleanup strategies - Bundle size optimization - Event debouncing and throttling - Performance benchmarking and monitoring ### Accessibility & Compliance 📄 **Read:** [references/accessibility.md](references/accessibility.md) - WCAG 2.2 and Section 508 compliance - WAI-ARIA implementation and screen readers - Keyboard navigation (Tab, arrows, Enter, Escape) - Color contrast and focus management - Accessibility testing tools (axe, NVDA, JAWS) - Semantic HTML practices ### Data Validation 📄 **Read:** [references/validation.md](references/validation.md) - Built-in validators (required, min, max, pattern) - Custom validation functions - Async validation with server checks - Validation events and error display - Server-side validation with ASP.NET - Validation rules by column type ### Command Column & Row Actions 📄 **Read:** [references/command-column.md](references/command-column.md) - Built-in commands (Edit, Delete, Save, Cancel) - Custom command buttons - Role-based and status-based commands - Command click events - Conditional command visibility - CSS styling and icons ### Localization & Internationalization 📄 **Read:** [references/localization.md](references/localization.md) - Multi-language support (60+ languages) - Locale setup and culture configuration - Number, date, and currency formatting - RTL support (Arabic, Hebrew, Farsi) - Custom localization and translation - Language switcher implementation ### Responsive Design & Mobile 📄 **Read:** [references/responsive-design.md](references/responsive-design.md) - Adaptive UI for mobile/tablet/desktop - Responsive media queries and breakpoints - Column visibility hiding rules - Touch interactions (swipe, long-press) - Mobile optimization strategies - Device-specific styling patterns ### API Reference & Properties 📄 **Read:** [references/properties-configuration.md](references/properties-configuration.md) - All 95+ configurable properties organized by category - Quick reference table for quick lookup - When to use each property - Module requirements per property ### Programmatic Control (Methods) 📄 **Read:** [references/programmatic-api.md](references/programmatic-api.md) - All 137+ Grid methods by category (data, row, column, sort, filter, group, page, edit, export) - Method signatures and parameters - Return values and usage patterns - Module requirements per method ### Event Communication (Events) 📄 **Read:** [references/events-catalog.md](references/events-catalog.md) - All 65+ Grid events with timing and use cases - Wire `actionBegin` to **cancel** or **mutate before** an action (`args.cancel = true`, `args.data.field = value`) - Wire `actionComplete` to **react after** (API call, toast, refresh, toolbar restore) - Must wire `actionFailure` for error handling - Use `args.requestType` to identify the action ### Advanced Patterns & Real-World Scenarios 📄 **Real-Time Updates:** [references/real-time-updates.md](references/real-time-updates.md) - Auto-refresh, WebSocket, and SignalR integration patterns - Push vs. pull data strategies - Connection management and reconnection logic 📄 **Performance Monitoring:** [references/performance-monitoring.md](references/performance-monitoring.md) - Measure grid operation times - Identify rendering bottlenecks - Optimization checklist - Memory usage tracking 📄 **Testing Grids:** [references/testing-grids.md](references/testing-grids.md) - Unit testing with Jest and React Testing Library - Integration testing scenarios - Snapshot testing - Best practices for grid testing ## Quick Start Example ```tsx import { ColumnDirective, ColumnsDirective, GridComponent, Inject, Page, Sort, Filter } from '@syncfusion/ej2-react-grids'; import React from 'react'; import '../styles/App.css'; const gridRef = useRef(null); // Sample data const data = [ { OrderID: 10248, CustomerID: 'VINET', EmployeeID: 5, OrderDate: new Date(1996, 6, 4) }, { OrderID: 10249, CustomerID: 'TOMSP', EmployeeID: 6, OrderDate: new Date(1996, 6, 5) }, ]; function App() { return ( ); } export default App; ```

相关技能

Agent 工作流

Skill Creator

创造有效技能指南。 当用户想创造出新的技能(或更新现有的技能),以专业知识,工作流程,或工具集成来扩展克洛德的能力时,应该使用这种技能.

Agent 工作流

Clawdhub

使用ClawdHub CLI搜索,安装,更新并发布从taladhub.com的代理技能. 需要获取苍蝇上的新技能时使用,将安装的技能同步到最新版本或特定版本,或者发布 npm-instainddhub CLI 的新/更新的技能文件夹.

Agent 工作流

Agent Team Orchestration

管弦乐团多代理团队,任务设定周期,交接协议,审查工作流程. 使用时间: (1)建立2+特派员队伍,具有不同专业,(2)确定任务路线和生命周期(收录框_ spec_建设_审查_完成),(3)在特派员之间制定交接协议,(4)建立审查和质量关口,(5)管理特派员之间的交流和文物共享.

Agent 工作流

Superpowers

Spec-first,TDD,子代理驱动的软件开发工作流程. 当:(1)构建任何新功能或应用——触发脑暴_计划_子代理执行回路,(2)调试出一个bug或测试失败——触发系统性的根起过程,(3)用户说"让我们构建","帮助我计划","我想添加X",或"这个被打破",(4)完成一个功…