Skip to main content

syncfusion-angular-grid

Implements Syncfusion Angular 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.

Quellinformationen

Repository
syncfusion/angular-ui-components-skills
Letzte Quellaktivitรคt
7. August 2026 um 07:02
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
1

Installationsoptionen

StandardmรครŸig ist der Prompt ausgewรคhlt, der zuerst die Quelle prรผft. Sie kรถnnen zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prรผfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich fรผr eine Installation entscheiden.

Datei-Explorer
42 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen ยท Schreibgeschรผtzte Vorschau
name
syncfusion-angular-grid
description
Implements Syncfusion Angular 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 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](#when-to-use-this-skill) - [TreeGrid vs. Grid: Decision Guide](#treegrid-vs-grid-decision-guide) - [Critical API Rules & Requirements](#critical-api-rules--requirements) - [Feature Navigation Guide](#feature-navigation-guide) - [Quick Start Example](#quick-start-example) - [Common Patterns](#common-patterns) - [Key Props & Configuration](#key-props--configuration) - [Common Use Cases](#common-use-cases) ## 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 | Requirement | Use TreeGrid | Use Grid | |-------------|--------------|----------| | **Data Structure** | Hierarchical/Tree/Nested | Flat/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 Cases** | Org charts, file systems, BoM | Orders, 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: - ๐Ÿ“„ **Properties Reference** โ†’ [references/grid-properties.md](references/grid-properties.md) โ€” 95+ configurable properties organized by category - ๐Ÿ“„ **Methods Reference** โ†’ [references/grid-methods.md](references/grid-methods.md) โ€” 137+ methods for data manipulation, selection, sorting, filtering, and more - ๐Ÿ“„ **Events Reference** โ†’ [references/grid-events.md](references/grid-events.md) โ€” 65+ events for lifecycle management, user interactions, and data changes - ๐Ÿ“„ **Programmatic Control** โ†’ [references/programmatic-api.md](references/programmatic-api.md) โ€” Learn @ViewChild requirement, method parameters, async handling, and refresh patterns - ๐Ÿ“„ **Event Handling** โ†’ [references/events-catalog.md](references/events-catalog.md) โ€” Event signatures, timing, cancellation, and render event restrictions - ๐Ÿ“„ **Module System** โ†’ [references/modules.md](references/modules.md) โ€” Service injection requirements for feature methods - ๐Ÿ“„ **Selection** โ†’ [references/selection.md](references/selection.md) โ€” Selection method prerequisites - ๐Ÿ“„ **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 grid initialization - CSS imports and themes - Minimal working example ### Data Management ๐Ÿ“„ **Read:** [references/data-binding.md](references/data-binding.md) - Local and remote data binding - Data source configuration - API integration - Real-time data updates ### Column Configuration ๐Ÿ“„ **Read:** [references/columns.md](references/columns.md) - Column properties and types - Column templates - Foreign key columns - Column rendering options **Related โ€” Advanced Column Features:** ๐Ÿ“„ **Read:** [references/context-menu.md](references/context-menu.md) (context menu for columns) ### Row Management & Templates ๐Ÿ“„ **Read:** [references/row.md](references/row.md) - Row properties and events - Row templates - Detail row templates - Row spanning ### Selection & Interaction ๐Ÿ“„ **Read:** [references/selection.md](references/selection.md) - Row, cell, and column selection - Checkbox selection - Selection events - Multi-select patterns ### Data Operations ๐Ÿ“„ **Read:** [references/filtering.md](references/filtering.md) - Filter bar and filter menu - Excel-like filtering - Custom filters - Programmatic filtering ๐Ÿ“„ **Read:** [references/sorting.md](references/sorting.md) - Single and multi-column sorting - Custom sort order - Sort events ๐Ÿ“„ **Read:** [references/searching.md](references/searching.md) - Global search functionality - Search across columns - Search algorithms ๐Ÿ“„ **Read:** [references/paging.md](references/paging.md) - Pagination setup - Page size configuration - Page change events ### Editing & Validation ๐Ÿ“„ **Read:** [references/editing.md](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](references/grouping.md) - Grouping columns - Lazy-load grouping - Caption templates ๐Ÿ“„ **Read:** [references/aggregates.md](references/aggregates.md) - Summary rows - Custom aggregate functions - Footer aggregates ### Export & Reporting ๐Ÿ“„ **Read:** [references/excel-export.md](references/excel-export.md) - Export to Excel formats - Export options and customization - Export events ๐Ÿ“„ **Read:** [references/pdf-export.md](references/pdf-export.md) - Export to PDF - PDF templates and formatting - Header and footer configuration ๐Ÿ“„ **Read:** [references/print.md](references/print.md) - Print functionality - Print templates - Print events ### Styling & UI Customization ๐Ÿ“„ **Read:** [references/style-and-appearance.md](references/style-and-appearance.md) - Theme selection - CSS customization - Style specific areas (header, rows, cells) - Custom CSS classes ๐Ÿ“„ **Read:** [references/toolbar.md](references/tool-bar.md) - Toolbar items and configuration - Custom toolbar buttons - Toolbar events and click handlers ๐Ÿ“„ **Read:** [references/clipboard.md](references/clipboard.md) - Copy/paste functionality - Clipboard events - Clipboard selection management ### Advanced Column Features ๐Ÿ“„ **Read:** [references/frozen.md](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](references/cell.md) - Cell editing and selection - Cell templates - Cell spanning - Cell-level events ### Context & Interaction ๐Ÿ“„ **Read:** [references/context-menu.md](references/context-menu.md) - Context menu items - Custom context menu - Context menu events - Default menu configuration ### Advanced Features ๐Ÿ“„ **Read:** [references/scrolling.md](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. | 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` | ๐Ÿ“„ **Read:** [references/hierarchy-grid.md](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](references/state-management.md) - Save grid state (columns, sorting, filters) - Restore grid state - State persistence options ๐Ÿ“„ **Read:** [references/adaptive.md](references/adaptive.md) - Responsive/mobile mode - Adaptive layouts - Touch interactions ๐Ÿ“„ **Read:** [references/global-local.md](references/global-local.md) - Keyboard shortcuts and navigation - Global vs local settings - Accessibility configurations ### Module System & Architecture ๐Ÿ“„ **Read:** [references/modules.md](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](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 ### Programmatic Control ๐Ÿ“„ **Read:** [references/programmatic-api.md](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](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](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](references/grid-properties.md) - Properties overview - Core data properties - Property organization by category - Configuration reference ### API Reference - Methods ๐Ÿ“„ **Read:** [references/grid-methods.md](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](references/grid-events.md) - Events overview - Data events - Event lifecycle and timing - Event arguments and properties ### Testing & Quality Assurance ๐Ÿ“„ **Read:** [references/test-case.md](references/test-case.md) - Unit tests - Integration tests - Testing strategies - Test case examples ## Quick Start Example ```typescript 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; }
Auf GitHub ansehen
Diese SKILL.md ist sehr gross, daher zeigt SkillsMP hier nur den ersten Abschnitt. Auf GitHub ansehen