angular/angular-rendering-directives
OfficialRender TanStack cells with Angular directives
System Documentation
What problem does it solve?
It solves the confusion of how to render TanStack Table v9 column content in Angular without falling back to incorrect React/Vue-style flexRender function calls, ensuring correct context wiring and dependency injection.
Core Features & Use Cases
- Structural-directive rendering: Use
*flexRender,*flexRenderCell,*flexRenderHeader, and*flexRenderFooterto render primitives,TemplateRef, component types, andflexRenderComponentwrappers. - DI context tokens without prop drilling: Automatically provide
TanStackTableToken,TanStackTableHeaderToken, andTanStackTableCellToken, plusinjectTableContext(),injectTableHeaderContext(), andinjectTableCellContext()helpers. - Correct Angular patterns for grouped headers/footers: Use placeholder-safe rendering (e.g.,
@if (!header.isPlaceholder)) so grouped header rows render correctly.
Use it when building Angular datagrids where you want full control over markup while still getting TanStack Table’s rendering context, selection state, sorting state, and reusable cell/header components.
Quick Start
Use the shorthand directive *flexRenderCell="cell; let value" inside your <td> to render columnDef.cell values from a TanStack Angular table.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: angular/angular-rendering-directives Download link: https://github.com/TanStack/table/archive/main.zip#angular-angular-rendering-directives Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.