angular/angular-rendering-directives

Official

Render TanStack cells with Angular directives

AuthorTanStack
Version1.0.0
Installs0

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 *flexRenderFooter to render primitives, TemplateRef, component types, and flexRenderComponent wrappers.
  • DI context tokens without prop drilling: Automatically provide TanStackTableToken, TanStackTableHeaderToken, and TanStackTableCellToken, plus injectTableContext(), injectTableHeaderContext(), and injectTableCellContext() 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 required

Components

references

💻 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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.