Token导航 LogoToken导航

Agent Skill · 研究检索

syncfusion-blazor-datagrid(同步融合 Blazor 数据网格)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

syncfusion-blazor-datagrid 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 41,306。

总安装 1,187周安装 48GitHub Stars 公开资料未说明下载 372核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-datagrid

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

高性能数据表格,支持排序、过滤、分组和分页操作。适合管理系统中的列表展示,尤其适用于百万级数据的渐进式加载。通过 DataSource 配置远程查询,前端仅渲染可视区域单元格。列宽自适应和内容截断需结合 CSS 控制,避免布局错乱。导出 Excel 功能会触发完整数据集加载,注意内存和超时限制。

来源仓库内路径:skills/syncfusion-blazor-datagrid

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-blazor-datagrid 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusio…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-blazor-datagrid 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-blazor-datagrid 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-blazor-datagrid 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-blazor-datagrid 用的人多吗?

公开数据是累计安装 1,187 次,近一周安装 48 次,下载 372 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-blazor-datagrid 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
syncfusion-blazor-datagrid

同步融合 Blazor 数据网格 · 本页

1,187—需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文


Implementing Syncfusion Blazor DataGrid

The Syncfusion Blazor DataGrid (SfGrid<TValue>) is a high-performance, feature-rich component for displaying and manipulating tabular data. It supports data binding, sorting, filtering, grouping, paging, editing, selection, aggregates, export, virtual/infinite scrolling, templates, and more.

NuGet: Syncfusion.Blazor.Grid + Syncfusion.Blazor.Themes Namespace: Syncfusion.Blazor.Grids

When to Use This Skill

Use this skill when you need to:

  • Set up and configure a DataGrid in Blazor Server, WebAssembly, Web App, or MAUI
  • Bind local or remote data (OData, HTTP, SfDataManager)
  • Configure columns (type, format, template, frozen, reorder, resize, chooser)
  • Implement sorting, filtering (FilterBar/Menu/Excel/CheckBox), or searching
  • Enable grouping with lazy load or caption templates
  • Configure paging with custom templates or SfPager
  • Set up virtual scrolling, infinite scrolling for large datasets
  • Implement editing (Normal/Dialog/Batch/Command column) with validation
  • Configure selection (row, cell, checkbox) with programmatic control
  • Use clipboard copy, AutoFill, or Paste features
  • Add aggregates (footer, group, caption, reactive)
  • Use row/column templates, detail template, row drag-drop
  • Configure toolbar, context menu, column menu, column chooser
  • Export data to Excel or PDF
  • Manage print functionality
  • Optimize performance (SetRowDataAsync, PreventRender)
  • Handle DataGrid events
  • Manage state persistence (EnablePersistence)
  • Customize styling and appearance
  • Enable adaptive UI for mobile/responsive layouts

🔒 Mandatory Key Rules

These rules govern how this skill MUST behave. They are mandatory and must be strictly followed.

1. Purpose and Responsibility

Your responsibility is to interpret any natural‑language user request and provide:

  • Accurate
  • Complete
  • Validated

information about all supported aspects of the Syncfusion Blazor DataGrid, including:

  • Public APIs
  • Properties
  • Events
  • Features
  • Behaviors

2. Accuracy and API Compliance

The Skill MUST:

  • Use only officially supported Syncfusion DataGrid features.
  • NEVER invent APIs, methods, properties, events, behaviors, or future features.
  • NEVER provide unsupported or hypothetical code samples.
  • ALWAYS follow official Syncfusion component design patterns.

If a feature is not supported:

  • Clearly state the limitation.
  • Suggest a supported alternative when possible.

3. Interpreting Natural-Language Requests

When user requests are incomplete:

  • Infer reasonable assumptions using official Grid best practices.
  • Fill missing gaps with accurate and relevant information.
  • Request clarification only when essential.

4. Response Quality Requirements

Every response MUST:

  • Be technically accurate
  • Be complete and well‑structured
  • Include required dependencies and configuration notes
  • Follow real, documented Syncfusion API behavior
  • Avoid contradictions or ambiguity

5. Handling Unsupported User Requests

If the user asks for an unsupported capability:

  • Explicitly state that it is not supported
  • Suggest official alternatives or valid workarounds
  • NEVER simulate or fabricate impossible functionality

6. Design Pattern Enforcement

The Skill MUST follow Syncfusion official patterns, including:

  • Correct component structure (SfGrid, GridColumn, GridEditSettings, etc.)
  • Proper async event and API usage
  • Valid configuration properties and enums
  • Supported data‑binding approaches
  • Real event patterns and names

7. Quality, Completeness & Reliability

The Skill MUST:

  • Use only validated and real Grid capabilities
  • Provide actionable and implementation‑ready guidance
  • Ensure clarity so users can follow without guesswork
  • Maintain clean, readable, and professional formatting

8. No-Hallucination Safeguard

The Skill MUST NOT:

  • Invent non‑existent APIs or behavior
  • Suggest unsupported modes, features, or configuration
  • Provide incorrect, misleading, or unverifiable code
  • Describe undocumented internal behavior

If unsure:

  • Ask for clarification OR
  • Clearly state the limitation

9. Event Name Verification Requirement

CRITICAL: Event names MUST be verified against references/events.md BEFORE providing code examples. All grid events MUST be defined inside the <GridEvents> component

Common Mistakes to Avoid:

  • ❌ OnSortChange - Does NOT exist. Use Sorting, Sorted instead
  • ❌ OnFilterChange - Does NOT exist. Use Filtering, Filtered instead
  • ❌ OnPageChange - Does NOT exist. Use PageChanging, PageChanged instead
  • ❌ OnGroupChange - Does NOT exist. Use Grouping, Grouped instead

Rule: ALWAYS cross-reference references/events.md for:

  • Exact event names (case-sensitive)
  • Event argument types
  • Whether events are cancelable
  • When they fire (before/after operation)

Verification Checklist Before Providing Event Code:

  1. Check if event name exists in references/events.md
  2. Verify the correct EventArgs type
  3. Confirm Cancelable status (✅ or ❌)
  4. Test against actual Syncfusion documentation
  5. Never assume naming conventions (e.g., On prefix, Change suffix)

Strict Rules for Grid Events

1. Event Handlers MUST be in <GridEvents> Component

  • ✅ Define ALL event handlers inside <GridEvents TValue="YourType">
  • ✅ Use the exact event names as properties (e.g., DataBound, RowSelecting, Grouped)
  • ❌ DO NOT use @onEventName syntax on <SfGrid>
  • ❌ DO NOT define event handlers on any root element

2. Correct Event Handler Signatures

  • ✅ Use async Task for event handlers
  • ✅ Event handlers may have specific parameter types (e.g., GridEventArgs, RowSelectEventArgs)
  • ✅ Some events have no parameters (e.g., DataBound(), Created())
  • ❌ Do not use synchronous void methods for async operations

3. API Method Calls MUST NOT be in Lifecycle Events

  • ❌ DO NOT call API methods in OnInitialized()
  • ❌ DO NOT call API methods in OnAfterRenderAsync()
  • ❌ DO NOT call API methods in OnParametersSet()
  • ✅ ONLY call API methods in response to user interactions (button clicks, dropdown changes, etc.)
  • ✅ API methods CAN be called inside GridEvents handlers

4. Use Async/Await Pattern

  • ✅ Always use await with async API methods
  • ✅ Define event handlers as async Task
  • ✅ Mark code block methods as async Task
  • ❌ Do not use synchronous method calls for async operations

5. Grid Reference Required for API Calls

  • ✅ Use @ref="Grid" to get the Grid instance
  • ✅ Use the reference to call API methods (e.g., await Grid.GroupColumnAsync())
  • ❌ Do not attempt to call methods without a reference

6. Event Types Must Match GridEvents TValue

  • ✅ Set TValue="YourDataType" to match your data model
  • ✅ All event handlers will be properly typed with this model
  • ❌ Do not use generic or wrong type for TValue

Navigation Guide

Setup & Getting Started

📄 Read: references/getting-started.md

  • NuGet install, _Imports.razor, Program.cs, theme/script setup, basic grid

📄 Read: references/getting-started-app-types.md

  • Server App, Web App (Auto/WASM), MAUI variants

Data

📄 Read: references/data-binding.md

  • Local (List, ExpandoObject, DynamicObject, DataTable, ObservableCollection)

Connecting to Adaptors (Remote Data)

📄 Read: references/odatav4-adaptor.md

  • OData V4 service setup, ODataConventionModelBuilder, [EnableQuery], automatic $filter/$orderby/$skip/$top, CRUD with PATCH/DELETE

📄 Read: references/web-api-adaptor.md

  • Web API with {Items, Count} response, manual $filter/$orderby/$skip/$top QueryString parsing, CRUD with GET/POST/PUT/DELETE
  • Security note: Do NOT bind SfDataManager.Url to arbitrary user-supplied URLs. Use an operator-configured string variable (for example Url="@DataApiUrl" where DataApiUrl is read from ALLOWED_API_URL in configuration), an internal proxy/gateway, field/operator whitelists, and server-side validation/sanitization. See references/web-api-adaptor.md Security Considerations for examples.

📄 Read: references/url-adaptor.md

  • Custom API with {result, count} response, DataManagerRequest POST body, DataOperations helpers, InsertUrl/UpdateUrl/RemoveUrl/CrudUrl/BatchUrl
  • Security note: Use a configuration-backed URL variable (for example Url="@DataApiUrl" where DataApiUrl is read from ALLOWED_API_URL in configuration), avoid user-supplied endpoints, and route third-party requests through an internal proxy/gateway. See references/url-adaptor.md for examples and configuration snippets.

📄 Read: references/custom-adaptor.md

  • DataAdaptor abstract class, override Read/Insert/Update/Remove/BatchUpdate, service injection, adaptor as component, custom parameters via Query.AddParams
  • Security note: When implementing CustomAdaptor, do not trust dm.Params or user-supplied endpoints. Use operator-configured endpoints, validate dm.Params, whitelist fields/operators, and route third-party calls through a proxy. See references/custom-adaptor.md Security Considerations for examples.

Columns

📄 Read: references/columns.md

  • ColumnType, Format, TextAlign, frozen, reorder, resize, chooser, stacked headers, column menu, foreign key

📄 Read: references/cell.md

  • QueryCellInfo, CustomAttributes, ClipMode, GridLines, tooltips

Sorting, Filtering, Searching

📄 Read: references/sorting.md

  • AllowSorting, multi-sort, SortColumnAsync, ClearSortingAsync

📄 Read: references/filtering.md

  • AllowFiltering, FilterType (FilterBar/Menu/Excel/CheckBox), operators, FilterByColumnAsync

📄 Read: references/searching.md

  • Toolbar Search, SearchAsync, GridSearchSettings

Grouping & Paging

📄 Read: references/grouping.md

  • AllowGrouping, lazy load grouping, CaptionTemplate, programmatic group/ungroup

📄 Read: references/paging.md

  • AllowPaging, GridPageSettings, pager template, GoToPageAsync

Scrolling

📄 Read: references/scrolling.md

  • Height/Width, sticky header, ScrollIntoViewAsync

📄 Read: references/virtual-scrolling.md

  • EnableVirtualization, EnableColumnVirtualization, OverscanCount, limitations

📄 Read: references/infinite-scrolling.md

  • EnableInfiniteScrolling, GridInfiniteScrollSettings, cache mode, limitations

Editing

📄 Read: references/editing.md

  • GridEditSettings, EditMode (Normal/Dialog/Batch/CommandColumn), ValidationRules, EditType, EditTemplate, CRUD methods

Read: references/editing-patterns.md

  • Cancel edit based on condition, disable editing for specific rows
  • Provide new/edited item via events, default column values, new row position
  • Always-show add-new-row form, delete multiple rows, single-click editing
  • Save new row at a specific index, inline template editing

📄 Read: references/editing-validation.md

  • Per-column ValidationRules, Data Annotation attributes ([Required], [Range], etc.)
  • Custom validation attributes, complex type validation, custom validator component

Selection

📄 Read: references/selection.md

  • AllowSelection, SelectionMode, SelectionType, checkbox selection, programmatic selection

📄 Read: references/clipboard.md

  • Clipboard copy (Ctrl+C / Ctrl+Shift+H), CopyAsync, AutoFill drag handle, Paste (Ctrl+V), batch editing requirements

Aggregates

📄 Read: references/aggregates.md

  • GridAggregates, AggregateType, FooterTemplate, GroupFooterTemplate, GroupCaptionTemplate, reactive aggregates

Row Features & Templates

📄 Read: references/row-features.md

  • RowDataBound, row drag-drop, row height, row spanning, RowTemplate

📄Read: references/templates-structural.md

  • ColumnTemplate (image, hyperlink, checkbox, SfChip), HeaderTemplate, RowTemplate, RowTemplate formatting, DetailTemplate, expand/collapse APIs, expand on load, hide expand icon, custom CSS icons, hierarchical nested Grid

📄 Read: references/templates-interactive.md

  • ToolbarTemplate, Column EditTemplate, GridEditSettings Template, disable inputs on add vs edit, triple underscore nested binding, focus editor on dialog open, RowUpdating transform, FooterTemplate, CaptionTemplate, custom Blazor component in caption, locale customization, PagerTemplate

Toolbar, Context Menu

📄 Read: references/toolbar.md

  • Built-in/custom toolbar items, OnToolbarClick, ToolbarTemplate

📄 Read: references/context-menu.md

  • ContextMenuItems, custom items, ContextMenuItemClicked

Export & Print

📄 Read: references/excel-export.md

  • AllowExcelExport, ExportToExcelAsync, ExcelExportProperties, theme/template export

📄 Read: references/pdf-export.md

  • AllowPdfExport, ExportToPdfAsync, PdfExportProperties, template PDF export

📄 Read: references/print.md

  • PrintAsync, PrintMode

Performance, Events, State

📄 Read: references/performance.md

  • SetRowDataAsync, PreventRender, WebAssembly optimization, column virtualization tips

📄 Read: references/events.md

  • Complete GridEvents reference: all edit, selection, filter, sort, group, page, toolbar, export events

📄 Read: references/state-management.md

  • EnablePersistence, GetPersistDataAsync, SetPersistDataAsync, ResetPersistDataAsync

Styling & Adaptive UI

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

  • CSS classes for grid, header, rows, filtering, editing, grouping, aggregates

📄 Read: references/adaptive-layout.md

  • EnableAdaptiveUI, RowRenderingMode, AdaptiveUIMode, mobile-responsive patterns

Quick Start

@page "/datagrid-demo"
@using Syncfusion.Blazor.Grids

<SfGrid DataSource="@Orders" AllowPaging="true" AllowSorting="true" AllowFiltering="true">
    <GridPageSettings PageSize="10"></GridPageSettings>
    <GridColumns>
        <GridColumn Field="OrderID"    HeaderText="Order ID"   IsPrimaryKey="true" Width="120" TextAlign="TextAlign.Right"></GridColumn>
        <GridColumn Field="CustomerID" HeaderText="Customer"   Width="150"></GridColumn>
        <GridColumn Field="Freight"    HeaderText="Freight"    Format="C2" Width="120" TextAlign="TextAlign.Right"></GridColumn>
        <GridColumn Field="OrderDate"  HeaderText="Order Date" Format="d"  Width="150" Type="ColumnType.Date"></GridColumn>
        <GridColumn Field="ShipCountry" HeaderText="Ship Country" Width="150"></GridColumn>
    </GridColumns>
</SfGrid>

@code {
    public List<Order> Orders = new List<Order>
    {
        new Order { OrderID = 10248, CustomerID = "VINET", Freight = 32.38, OrderDate = new DateTime(1996,7,4), ShipCountry = "France" },
        new Order { OrderID = 10249, CustomerID = "TOMSP", Freight = 11.61, OrderDate = new DateTime(1996,7,5), ShipCountry = "Germany" },
    };
    public class Order
    {
        public int OrderID { get; set; }
        public string CustomerID { get; set; }
        public double Freight { get; set; }
        public DateTime OrderDate { get; set; }
        public string ShipCountry { get; set; }
    }
}

Common Patterns

Grid with Editing + Toolbar

<SfGrid DataSource="@Orders" Toolbar="@(new List<string>() { "Add","Edit","Delete","Update","Cancel" })">
    <GridEditSettings AllowAdding="true" AllowEditing="true" AllowDeleting="true" Mode="EditMode.Normal"></GridEditSettings>
    <GridColumns>
        <GridColumn Field="OrderID" IsPrimaryKey="true" ValidationRules="@(new ValidationRules{Required=true})"></GridColumn>
        <GridColumn Field="CustomerID" ValidationRules="@(new ValidationRules{Required=true})"></GridColumn>
        <GridColumn Field="Freight" EditType="EditType.NumericEdit"></GridColumn>
    </GridColumns>
</SfGrid>

Grid with Grouping + Paging

<SfGrid DataSource="@Orders" AllowGrouping="true" AllowPaging="true">
    <GridGroupSettings Columns="@(new string[]{"ShipCountry"})"></GridGroupSettings>
    <GridPageSettings PageSize="10"></GridPageSettings>
    <GridColumns>
        <GridColumn Field="OrderID" Width="120"></GridColumn>
        <GridColumn Field="CustomerID" Width="150"></GridColumn>
        <GridColumn Field="ShipCountry" Width="150"></GridColumn>
    </GridColumns>
</SfGrid>

Grid Reference for Programmatic Control

<SfGrid @ref="Grid" DataSource="@Orders">...</SfGrid>
@code {
    SfGrid<Order> Grid;
    // Programmatic operations:
    // await Grid.SortColumnAsync("OrderID", SortDirection.Ascending, false);
    // await Grid.FilterByColumnAsync("ShipCountry", "equal", "France");
    // await Grid.GoToPageAsync(2);
    // await Grid.StartEditAsync();
    // await Grid.SelectRowAsync(0);
}

Key Properties at a Glance

PropertyDescription
DataSourceBind IEnumerable<T> or DataManagerRequest
AllowPagingEnable paging
AllowSortingEnable sorting
AllowFilteringEnable column filtering
AllowGroupingEnable row grouping
AllowSelectionEnable row/cell selection
Height / WidthFixed dimensions for scrolling
ToolbarBuilt-in or custom toolbar items
EnableVirtualizationRow virtualization for large data
EnableInfiniteScrollingInfinite scroll loading
EnablePersistenceSave state to localStorage
EnableAdaptiveUIMobile-responsive rendering

平台分布

Codex

32.72%
按下载量换算122

Claude

27.99%
按下载量换算104

Cursor

20.13%
按下载量换算75

Gemini CLI

10.15%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills