appfx-datagrid
Skill by vmware-clarity
Guides an AI assistant in building configuration-driven tables with the AppFX datagrid (appfx-datagrid) from @clr/addons/datagrid. It covers column definitions, filters, actions, export, persisted settings and tree data. Aimed at Angular developers using Clarity.
Install appfx-datagrid
Built from the published package, never by AI.
git clone --depth 1 https://github.com/vmware-clarity/ng-clarity /tmp/ng-clarity && mkdir -p ~/.claude/skills && cp -r /tmp/ng-clarity/projects/addons/datagrid ~/.claude/skills/appfx-datagridRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/vmware-clarity/ng-clarity /tmp/ng-clarity && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ng-clarity/projects/addons/datagrid ~/.gemini/antigravity-cli/skills/appfx-datagridAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant in building tables with the AppFX datagrid, the appfx-datagrid component from @clr/addons/datagrid. It is a wrapper over the Clarity datagrid where columns are defined as data using ColumnDefinition arrays. It covers client-side and server-driven modes, quick and advanced filters from @clr/addons/datagrid-filters, action bars, row actions, export, a detail pane, settings persistence, and tree data.
The skill explains when to use appfx-datagrid instead of plain clr-datagrid, and gives setup code, template bindings, and rules for the OnPush component. It notes details such as assigning new array references, setting trackByGridItemProperty, and how filters are emitted for the app to apply. It is aimed at Angular developers working on configuration-driven grids in Clarity-based apps.
Written from the project's SKILL.md and checked against it.
What it can do
- Client-side gridSets up a grid where the component computes totals from the gridItems array.
- Server-driven gridHandles paging, sorting and filtering through a refresh event and totalItems.
- FiltersAdds quick, advanced or advanced-only filter modes using property definitions.
- ActionsAdds an action bar and row actions with enabled states and click events.
- Custom cellsRenders a column with a custom component implementing ColumnRenderer.
- Detail pane and persistenceOpens a detail pane per row and can persist grid settings under a key.
- Tree dataRenders hierarchical rows that load children on first expand.
What you need
- An Angular project
- The @clr/addons package
- Angular NgModule-declared components
Try asking
- Build an appfx-datagrid for a list of VMs with quick search and export
- Add advanced filters on name, memory and state to my appfx-datagrid
- Convert this server-driven grid to use appfx-datagrid with row actions
Good to know
- Use plain clr-datagrid when every cell needs custom markup or the column model cannot express the structure.
- Persistence fails silently if the required service is not provided.
- virtualScrolling requires serverDrivenDatagrid, uses fixed row height and has no expandable rows.
- The grid only emits filters; the app must apply them to the data.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: projects/addons/datagrid/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to appfx-datagrid
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
appfx-datagrid: common questions
When should I use appfx-datagrid instead of clr-datagrid?
The source recommends appfx-datagrid for complex, configuration-driven grids that need several of advanced filters, export, column toggle, action bar, row actions, persisted settings or column ordering. For simple lists, clr-datagrid is the default.
Does the grid apply advanced filters automatically?
No. The grid only emits advancedFilterChange with PropertyFilter arrays, and the app must apply them to the data and pass the result as gridItems.
Why do my grid rows not refresh after I change the data?
The component is OnPush, so the source says to always assign new array or object references for gridItems, columns, selectedItems and similar inputs rather than mutating them in place.
How do I install appfx-datagrid?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is appfx-datagrid free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is appfx-datagrid safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to appfx-datagrid?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
