AI Components / AI Data Table
AI Data Table
AI-enhanced table with anomaly highlighting and smart sorting.
ai-production v0.5.0
Playground
Examples
With anomalies
<ai-data-table sortable></ai-data-table> Import
import { AiDataTable } from '@cognivo/components'; // Or tree-shake: import '@cognivo/components/ai-data-table'; Per-component imports ship only that component (~8 kB gzip).
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
columns | {key, label}[] | — | Column defs |
data | object[] | — | Row data |
anomalies | {row, col, severity, reason}[] | — | Anomaly markers |
Events
| Event | Detail | Description |
|---|---|---|
ai-data-cell-click | {row, col, value} | Cell clicked |