simple-datatables
Version:
A lightweight, dependency-free JavaScript HTML table plugin.
9 lines (8 loc) • 926 B
TypeScript
import { columnsStateType, columnSettingsType, DataTableOptions, headerCellType, elementNodeType, renderOptions, rowType } from "./types";
export declare const headingsToVirtualHeaderRowDOM: (headings: any, columnSettings: any, columnsState: columnsStateType, { classes, format, hiddenHeader, sortable, scrollY, type }: DataTableOptions, { noColumnWidths, unhideHeader }: renderOptions) => {
nodeName: string;
childNodes: any;
};
export declare const dataToVirtualDOM: (tableAttributes: {
[key: string]: string;
}, headings: headerCellType[], rows: rowType[], columnSettings: columnSettingsType[], columnsState: columnsStateType, rowCursor: (number | false), { classes, hiddenHeader, header, footer, format, sortable, scrollY, type, rowRender, tabIndex }: DataTableOptions, { noColumnWidths, unhideHeader, renderHeader }: renderOptions, footers: elementNodeType[], captions: elementNodeType[]) => elementNodeType;