gridjs
Version:
Advanced table plugin
15 lines (14 loc) • 632 B
TypeScript
import Tabular from '../../tabular';
import { PipelineProcessor, PipelineProcessorProps, ProcessorType } from '../processor';
import { OneDArray, TCell, TColumn } from '../../types';
interface GlobalSearchFilterProps extends PipelineProcessorProps {
keyword: string;
columns: OneDArray<TColumn>;
ignoreHiddenColumns: boolean;
selector?: (cell: TCell, rowIndex: number, cellIndex: number) => string;
}
declare class GlobalSearchFilter extends PipelineProcessor<Tabular, GlobalSearchFilterProps> {
get type(): ProcessorType;
_process(data: Tabular): Tabular;
}
export default GlobalSearchFilter;