@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
20 lines (19 loc) • 722 B
TypeScript
import * as React from 'react';
import { ColDef } from 'ag-grid-enterprise';
export interface NocodeColumn extends Partial<ColDef> {
field?: string;
type?: string | string[];
caption?: string;
}
declare const _default: React.MemoExoticComponent<({ columns: cols, handle, onValidityChange, onChange, onSelectionChange, selectedColumns, theme, }: {
onValidityChange: (valid: boolean) => any;
handle: React.MutableRefObject<any>;
columns: NocodeColumn[];
theme?: string;
onChange?: (columns: NocodeColumn[]) => void;
onSelectionChange?: (column: any, flag: boolean) => void;
selectedColumns?: {
[key: string]: boolean;
};
}) => React.JSX.Element>;
export default _default;