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

syncfusion-angular-gridsyncfusion Angular grid 搜索

Agent Skill

syncfusion-angular-grid 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,152

周安装

49

GitHub Stars

公开资料未说明

下载量

404
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

构建高性能数据表格组件,支持排序、过滤与分页加载。

  • 适用于后台管理系统与报表展示等大量数据呈现场景。syncfusion-angular-grid 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 仓库安装,使用 npx 命令添加技能并指定路径。
  • 虚拟滚动仅渲染可视区域行数,显著提升百万级数据性能。
  • 列宽自适应时应预留最小宽度,防止内容截断影响阅读。

SKILL.md

Syncfusion Angular Grid

A comprehensive guide to implementing powerful, feature-rich data grids using Syncfusion's Angular Grid component. This skill covers all aspects of grid functionality from basic data binding to advanced features like virtual scrolling, hierarchical data, state management, and multi-format exports.

⚠️ 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 this skill when you need to:

  • Display tabular data — Load and render structured data in a table format
  • Enable data operations — Sort, filter, search, and paginate large datasets
  • Implement editing — Add, update, and delete records with validation
  • Customize columns — Configure column properties, templates, and layouts
  • Export data — Generate Excel, PDF, or print-friendly reports
  • Handle advanced scenarios — Hierarchical data, virtual scrolling, state persistence
  • Apply styling — Theme grids, customize appearance, and style-specific elements
  • Optimize performance — Implement infinite scrolling, virtual scrolling for large datasets

TreeGrid vs. Grid: Decision Guide

RequirementUse TreeGridUse Grid
Data StructureHierarchical/Tree/NestedFlat/Tabular
Parent-Child Relationships✅ Native support❌ No (use Detail Template)
Expand/Collapse Rows✅ Built-in❌ No
Nested Aggregates✅ Includes children✅ Flat only
Indent/Outdent Operations✅ Yes❌ No
Column Grouping❌ No (use Grid)✅ Yes
Performance (100K+ rows)✅Excellent✅ Excellent
Use CasesOrg charts, file systems, BoMOrders, invoices, lists

Critical API Rules & Requirements

Grid's inbuilt API (137+ methods, 65+ events, 95+ properties) requires strict adherence to access patterns:

⚠️ Detailed rules for proper API usage are located in the reference guides — review the sections below based on your needs:


Feature Navigation Guide

Getting Started & Setup

📄 Read: references/getting-started.md

  • Installation and package setup
  • Basic grid initialization
  • CSS imports and themes
  • Minimal working example

Data Management

📄 Read: references/data-binding.md

  • Local and remote data binding
  • Data source configuration
  • API integration
  • Real-time data updates

Column Configuration

📄 Read: references/columns.md

  • Column properties and types
  • Column templates
  • Foreign key columns
  • Column rendering options

Related — Advanced Column Features: 📄 Read: references/context-menu.md (context menu for columns)

Row Management & Templates

📄 Read: references/row.md

  • Row properties and events
  • Row templates
  • Detail row templates
  • Row spanning

Selection & Interaction

📄 Read: references/selection.md

  • Row, cell, and column selection
  • Checkbox selection
  • Selection events
  • Multi-select patterns

Data Operations

📄 Read: references/filtering.md

  • Filter bar and filter menu
  • Excel-like filtering
  • Custom filters
  • Programmatic filtering

📄 Read: references/sorting.md

  • Single and multi-column sorting
  • Custom sort order
  • Sort events

📄 Read: references/searching.md

  • Global search functionality
  • Search across columns
  • Search algorithms

📄 Read: references/paging.md

  • Pagination setup
  • Page size configuration
  • Page change events

Editing & Validation

📄 Read: references/editing.md

  • Edit types (inline, dialog, batch)
  • Edit templates and custom editors
  • Built-in validators (required, min, max, pattern)
  • Validation rules and error messages
  • Persisting changes to server
⚠️ CRITICAL: [isPrimaryKey]="true" is required on the key column — editing silently fails without it (no error thrown).

Grouping & Aggregation

📄 Read: references/grouping.md

  • Grouping columns
  • Lazy-load grouping
  • Caption templates

📄 Read: references/aggregates.md

  • Summary rows
  • Custom aggregate functions
  • Footer aggregates

Export & Reporting

📄 Read: references/excel-export.md

  • Export to Excel formats
  • Export options and customization
  • Export events

📄 Read: references/pdf-export.md

  • Export to PDF
  • PDF templates and formatting
  • Header and footer configuration

📄 Read: references/print.md

  • Print functionality
  • Print templates
  • Print events

Styling & UI Customization

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

  • Theme selection
  • CSS customization
  • Style specific areas (header, rows, cells)
  • Custom CSS classes

📄 Read: references/toolbar.md

  • Toolbar items and configuration
  • Custom toolbar buttons
  • Toolbar events and click handlers

📄 Read: references/clipboard.md

  • Copy/paste functionality
  • Clipboard events
  • Clipboard selection management

Advanced Column Features

📄 Read: references/frozen.md

  • Freeze columns
  • Multi-column freeze
  • Freeze position configuration
⚠️ Performance Warning: rowDataBound and queryCellInfo fire on every render/scroll — NEVER make API calls inside them. ⚠️ Conflict Risk: Do NOT add both a column [template] AND a rowDataBound handler targeting the same field — produces duplicate, conflicting styling.

Cell & Row Features

📄 Read: references/cell.md

  • Cell editing and selection
  • Cell templates
  • Cell spanning
  • Cell-level events

Context & Interaction

📄 Read: references/context-menu.md

  • Context menu items
  • Custom context menu
  • Context menu events
  • Default menu configuration

Advanced Features

📄 Read: references/scrolling.md

  • Virtual scrolling for 1K–100K+ records
  • Infinite scrolling for continuous loading
  • Sticky headers
  • Scrolling performance optimization
⚠️ CRITICAL: height is required — scrolling is silently disabled without it (no error thrown). ⚠️ INCOMPATIBLE: Do NOT combine enableVirtualization or enableInfiniteScrolling with allowPaging — results are unpredictable.
RowsModeKey Config
< 1,000allowPagingPage module
1K – 100KenableVirtualization + heightVirtualScroll, no paging
ContinuousenableInfiniteScrolling + heightInfiniteScroll
100K+ groupedenableVirtualization + lazyLoadGroupingVirtualScroll, Group

📄 Read: references/hierarchy-grid.md

  • Master-detail grids
  • Child grid configuration
  • Nested/hierarchical data
  • Detail row templates
  • Lazy-load child data

📄 Read: references/state-management.md

  • Save grid state (columns, sorting, filters)
  • Restore grid state
  • State persistence options

📄 Read: references/adaptive.md

  • Responsive/mobile mode
  • Adaptive layouts
  • Touch interactions

📄 Read: references/global-local.md

  • Keyboard shortcuts and navigation
  • Global vs local settings
  • Accessibility configurations

Module System & Architecture

📄 Read: references/modules.md

  • Grid module architecture and 23+ feature services
  • Service dependencies and relationships
  • Module injection patterns in component decorators
  • Bundle optimization via selective imports
  • Performance impact of module inclusion

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

Programmatic Control

📄 Read: references/programmatic-api.md

  • The full programmatic method catalog
  • Event prop reference
  • Dynamic column control
  • setProperties() examples, export hooks, and cross-feature

Event Communication

📄 Read: references/events-catalog.md

  • 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, see the requestType table in the events catalog

Advanced Tutorials & Real-World Patterns

📄 Read: references/advanced-tutorials.md

  • Real-time data updates (WebSocket, SignalR)
  • Master-detail with filtering
  • Complex calculations and running totals
  • Advanced filtering with complex predicates
  • Custom themes and theme switching
  • Performance monitoring techniques

API Reference - Properties

📄 Read: references/grid-properties.md

  • Properties overview
  • Core data properties
  • Property organization by category
  • Configuration reference

API Reference - Methods

📄 Read: references/grid-methods.md

  • Methods overview
  • Data manipulation methods
  • Method parameters and signatures
  • Return types and async handling

API Reference - Events

📄 Read: references/grid-events.md

  • Events overview
  • Data events
  • Event lifecycle and timing
  • Event arguments and properties

Testing & Quality Assurance

📄 Read: references/test-case.md

  • Unit tests
  • Integration tests
  • Testing strategies
  • Test case examples

Quick Start Example

import { Component, OnInit } from '@angular/core';
import { GridComponent } from '@syncfusion/ej2-angular-grids';

interface Employee {
  EmployeeID: number;
  FirstName: string;
  LastName: string;
  Title: string;
  HireDate: Date;
  ReportsTo: number;
  Salary: number;
}

@Component({
  selector: 'app-grid',
  template: `
    <ejs-grid [dataSource]="data" [allowPaging]="true"
              [pageSettings]="{ pageSize: 12 }"
              [allowSorting]="true"
              [allowFiltering]="true">
      <e-columns>
        <e-column field="EmployeeID" headerText="ID" width="100"></e-column>
        <e-column field="FirstName" headerText="First Name" width="120"></e-column>
        <e-column field="LastName" headerText="Last Name" width="120"></e-column>
        <e-column field="Title" headerText="Title" width="150"></e-column>
        <e-column field="HireDate" headerText="Hire Date" type="date"
                  format="yMd" width="130"></e-column>
        <e-column field="Salary" headerText="Salary" type="number"
                  format="C2" width="120"></e-column>
      </e-columns>
    </ejs-grid>
  `
})
export class GridComponent implements OnInit {
  data: Employee[] = [];

  ngOnInit() {
    this.loadEmployeeData();
  }

  loadEmployeeData() {
    // Load your data here
    this.data = [
      { EmployeeID: 1, FirstName: 'Nancy', LastName: 'Davolio', Title: 'Sales Representative',
        HireDate: new Date(1992, 4, 1), ReportsTo: 2, Salary: 60000 },
      { EmployeeID: 2, FirstName: 'Andrew', LastName: 'Fuller', Title: 'Vice President Sales',
        HireDate: new Date(1992, 8, 14), ReportsTo: null, Salary: 97000 },
      // ... more data
    ];
  }
}

Common Patterns

Pattern 1: Data Grid with Sorting, Filtering, and Paging

Combine sorting, filtering, and paging for a complete data exploration experience:

<ejs-grid [dataSource]="data"
          [allowSorting]="true"
          [allowFiltering]="true"
          [allowPaging]="true"
          [pageSettings]="{ pageSize: 20 }">
  <e-columns>
    <e-column field="EmployeeID" headerText="ID" width="100"></e-column>
    <e-column field="FirstName" headerText="First Name" width="120"></e-column>
    <!-- more columns -->
  </e-columns>
</ejs-grid>

Pattern 2: Inline Editing with Validation

Enable inline editing with form validation:

<ejs-grid [dataSource]="data"
          [editSettings]="{ allowEditing: true, allowAdding: true, mode: 'Normal' }"
          [toolbar]="['Add', 'Edit', 'Delete', 'Update', 'Cancel']">
  <e-columns>
    <e-column field="EmployeeID" headerText="ID" [isPrimaryKey]="true"
              width="100"></e-column>
    <e-column field="FirstName" headerText="First Name"
              [validationRules]="{ required: true }" width="120"></e-column>
    <!-- more columns -->
  </e-columns>
</ejs-grid>

Pattern 3: Exporting to PDF and Excel

Enable both PDF and Excel exports with toolbar:

<ejs-grid [dataSource]="data"
          [toolbar]="['PdfExport', 'ExcelExport']"
          [allowPdfExport]='true'
          [allowExcelExport]='true'
          (toolbarClick)='toolbarClick($event)'>
  <e-columns>
    <!-- your columns -->
  </e-columns>
</ejs-grid>

Pattern 4: Virtual Scrolling for Large Datasets

Optimize performance with virtual scrolling:

<ejs-grid [dataSource]="largeDataset"
          [enableVirtualization]="true"
          [pageSettings]="{ pageSize: 50 }">
  <e-columns>
    <!-- your columns -->
  </e-columns>
</ejs-grid>

Key Props & Configuration

PropertyTypePurposeCommon Values
dataSourceArray/DataManagerGrid dataEmployee[], RemoteDataBinding
allowSortingbooleanEnable sortingtrue, false
allowFilteringbooleanEnable filteringtrue, false
allowPagingbooleanEnable paginationtrue, false
allowGroupingbooleanEnable groupingtrue, false
editSettingsobjectEdit configuration{mode: 'Inline'}
pageSettingsobjectPaging options{pageSize: 12}
enableVirtualizationbooleanVirtual scrollingtrue, false
allowExcelExportbooleanExcel exporttrue, false
allowPdfExportbooleanPDF exporttrue, false
toolbararrayToolbar items['Add', 'Edit', 'Delete']
columnsarrayColumn definitions[{field, headerText}]
heightstring/numberGrid height'400px', 'auto'

Common Use Cases

Scenario 1: Employee Directory Implement a searchable, sortable, filterable employee list with details on demand. → Combine: getting-started + data-binding + columns + selection + hierarchy-grid

Scenario 2: Data Entry Form Build a grid for adding and editing records with validation. → Combine: editing + validation + toolbar + filtering

Scenario 3: Sales Report Dashboard Create a highly customized grid with grouping, aggregates, and PDF export. → Combine: grouping + aggregates + pdf-export + style-and-appearance

Scenario 4: Real-time Data Monitor Display streaming data with virtual scrolling and state persistence. → Combine: scrolling + state-management + data-binding + adaptive

Scenario 5: Multi-level Organization Chart Show hierarchical org structure with detail rows for each level. → Combine: hierarchy-grid + row templates + cell styling

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.21%
按下载量换算134

Claude

30.82%
按下载量换算125

Cursor

20%
按下载量换算81

Gemini CLI

9.25%
按下载量换算37

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills