import { DBaseStateSet } from "./d-base-state-set"; /** * {@link DTable} column state modifier. * This function is called on every cells of a column when the cell data is changed. * * @param row a cell data * @param columnIndex a column index of a cell * @param state a cell state */ export type DTableColumnStateModifier = (row: ROW_VALUE, columnIndex: number, state: DBaseStateSet) => void; export interface DTableColumnState { initial?: string | string[]; modifier?: DTableColumnStateModifier; }