slickgrid
Version:
A lightning fast JavaScript grid/spreadsheet
5 lines (3 loc) • 376 B
text/typescript
import type { Column, FormatterResultWithHtml, FormatterResultWithText } from './index.js';
import type { SlickGrid } from '../slick.grid.js';
export declare type Formatter<T = any> = (row: number, cell: number, value: any, columnDef: Column<T>, dataContext: T, grid: SlickGrid) => string | HTMLElement | DocumentFragment | FormatterResultWithHtml | FormatterResultWithText;