UNPKG

simple-datatables

Version:

A lightweight, dependency-free JavaScript HTML table plugin.

9 lines (8 loc) 624 B
import { cellType, columnSettingsType, DataOption, dataRowType, headerCellType, inputCellType, inputHeaderCellType } from "./types"; export declare const readDataCell: (cell: inputCellType, columnSettings: columnSettingsType) => cellType; export declare const readHeaderCell: (cell: inputHeaderCellType) => headerCellType; export declare const readDOMHeaderCell: (cell: HTMLElement) => headerCellType; export declare const readTableData: (dataOption: DataOption, dom: (HTMLTableElement | undefined), columnSettings: any, defaultType: any, defaultFormat: any) => { data: dataRowType[]; headings: headerCellType[]; };