Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

syncfusion-react-gridsyncfusion React grid 搜索

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

2,093

周安装

89

GitHub Stars

1

下载量

733
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-react-grid(syncfusion React grid 搜索)
来源仓库:https://github.com/syncfusion/react-ui-components-skills
仓库路径:skills/syncfusion-react-grid
安装命令:
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-grid
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

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

简介

用于辅助 React 前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。
  • 使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • 通过 GitHub 安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主环境。
  • 需确保项目已集成 Syncfusion React 组件库,否则可能无法正常运行相关功能。

SKILL.md

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

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.

MethodRequired ModuleExample
goToPage()Page<Inject services={[Page]} />
sortColumn()Sort<Inject services={[Sort]} />
filterByColumn()Filter<Inject services={[Filter]} />
addRecord(), deleteRecord()Edit<Inject services={[Edit]} />

Rule 2: Properties vs Methods - Know the Difference

  • Properties: Set via JSX props (<GridComponent allowPaging={true} />)
  • 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 📄 Full Methods API Reference: references/programmatic-api.md 📄 Full Events API Reference: references/events-catalog.md 📄 Backend Integration: references/adaptors.md


Feature Navigation Guide

Getting Started & Setup

📄 Read: 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

  • Local data binding with arrays
  • Remote data with DataManager
  • Loading indicators (Spinner, Shimmer)
  • Data source configuration

Column Configuration

📄 Read: 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

  • 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

  • Enable and configure paging
  • Page size and navigation
  • Page change events
  • Customizing pager UI
  • Query string integration

Sorting Data

📄 Read: 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 — Enable filtering, choose filter type (FilterBar, Menu, Excel, CheckBox)

Choose your type:

Searching

📄 Read: references/searching.md

  • Grid search functionality
  • Global search across columns
  • Search with filter integration
  • Case-sensitive search options

Grouping Data

📄 Read: 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

  • Row, cell, column selection modes
  • Checkbox selection
  • Multiple selection handling
  • Selection events and methods
  • Programmatic selection

Editing

📄 Read: 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

  • Row templates
  • Detail templates (expand/collapse)
  • Row drag and drop
  • Row pinning
  • Row spanning
  • Row selection and events

Exporting

📄 Read: 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

  • 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

  • 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.
RowsModeKey Config
< 1,000allowPagingPage module
1K – 100KenableVirtualization + heightVirtualScroll, no paging
ContinuousenableInfiniteScrolling + heightInfiniteScroll
100K+ groupedenableVirtualization + lazyLoadGroupingVirtualScroll, Group

Freezing & Pinning

📄 Read: references/frozen.md

  • Freeze columns
  • Freeze rows
  • Freeze headers
  • Row pinning
  • Frozen column behavior

Toolbar

📄 Read: 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

  • Built-in context menu items
  • Custom context menus
  • Context menu configuration
  • Context menu events

Cell Operations

📄 Read: references/cell.md

  • Cell editing and selection
  • Cell templates
  • Cell value formatting
  • Cell ranges and operations
  • Cell focus and navigation

📄 Read: references/clipboard.md

  • Copy and paste functionality
  • Clipboard events
  • Custom clipboard actions
  • Copy column headers
  • Paste from external sources

Printing

📄 Read: 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

  • 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

  • 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

  • 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

  • Global grid settings
  • Local column configuration
  • Configuration precedence
  • Configuration merging

📄 Read: 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

  • 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 <Inject services={[...]} />. Without injection, the feature is silently ignored — no error is thrown.

⚠️ Rule: <Inject services={[...]} /> must be the last child inside <GridComponent>.

Data Connectivity & Adaptors

📄 Read: 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Auto-refresh, WebSocket, and SignalR integration patterns
  • Push vs. pull data strategies
  • Connection management and reconnection logic

📄 Performance Monitoring: references/performance-monitoring.md

  • Measure grid operation times
  • Identify rendering bottlenecks
  • Optimization checklist
  • Memory usage tracking

📄 Testing Grids: 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

import { ColumnDirective, ColumnsDirective, GridComponent, Inject, Page, Sort, Filter } from '@syncfusion/ej2-react-grids';
import React from 'react';
import '../styles/App.css';

const gridRef = useRef<GridComponent | null>(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 (
    <GridComponent
      ref={gridRef}
      dataSource={data}
      allowPaging={true}
      allowSorting={true}
      allowFiltering={true}
      pageSettings={{ pageSize: 10 }}
    >
      <ColumnsDirective>
        <ColumnDirective field='OrderID' headerText='Order ID' width='100' textAlign='Right' />
        <ColumnDirective field='CustomerID' headerText='Customer' width='120' />
        <ColumnDirective field='OrderDate' headerText='Order Date' width='130' type='date' format='yMd' />
      </ColumnsDirective>
      <Inject services={[Page, Sort, Filter]} />
    </GridComponent>
  );
}

export default App;

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.19%
按下载量换算251

Claude

29.79%
按下载量换算218

Cursor

20.13%
按下载量换算148

Gemini CLI

10.45%
按下载量换算77

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills