@rxap/data-grid
Version:
Provides a data grid component for Angular applications. It supports plain and form modes, custom header and cell templates, and integration with Rxap Forms and Data Sources. The component allows for displaying and editing data in a tabular format with fe
16 lines (15 loc) • 869 B
TypeScript
import { TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
export interface DataGridCellDefDirectiveContext<T extends Record<string, any> = Record<string, any>> {
$implicit: T[keyof T];
data: T;
}
export declare class DataGridCellDefDirective<T extends Record<string, any>> {
template: TemplateRef<DataGridCellDefDirectiveContext<T>>;
static ngTemplateContextGuard<T extends Record<string, any>>(dir: DataGridCellDefDirective<T>, ctx: any): ctx is DataGridCellDefDirectiveContext<T>;
$implicit: T[keyof T];
data: T;
constructor(template: TemplateRef<DataGridCellDefDirectiveContext<T>>);
static ɵfac: i0.ɵɵFactoryDeclaration<DataGridCellDefDirective<any>, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DataGridCellDefDirective<any>, "[rxapDataGridCellDef]", never, {}, {}, never, never, true, never>;
}