tdc-js-modules
Version:
16 lines (15 loc) • 314 B
TypeScript
/**
* Column Properties
*/
export type ColumnType<T = any> = {
selector: string;
name: string;
sortable: boolean;
right?: boolean;
left?: boolean;
center?: boolean;
cell?: (record: T) => any;
exportable: boolean;
exportableFunction?: (record: T) => string;
format?: (record: T) => string;
};