package.build.lib.columnHelper.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of table-core Show documentation
Show all versions of table-core Show documentation
Headless UI for building powerful tables & datagrids for TS/JS.
The newest version!
import { AccessorFn, ColumnDef, DisplayColumnDef, GroupColumnDef, IdentifiedColumnDef, RowData } from './types';
import { DeepKeys, DeepValue } from './utils';
export type ColumnHelper = {
accessor: | DeepKeys, TValue extends TAccessor extends AccessorFn ? TReturn : TAccessor extends DeepKeys ? DeepValue : never>(accessor: TAccessor, column: TAccessor extends AccessorFn ? DisplayColumnDef : IdentifiedColumnDef) => ColumnDef;
display: (column: DisplayColumnDef) => ColumnDef;
group: (column: GroupColumnDef) => ColumnDef;
};
export declare function createColumnHelper(): ColumnHelper;
© 2015 - 2024 Weber Informatics LLC | Privacy Policy