@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
32 lines (31 loc) • 1.17 kB
TypeScript
import * as React from 'react';
import { CachedQuery } from '../../AdaptableState/NamedQueryState';
export declare const useGridFilterExpressionEditor: () => {
isReadOnly: boolean;
namedQueryModuleAccessLevel: import("../../types").AccessLevel;
cachedQueries: CachedQuery[];
expression: string;
setExpression: React.Dispatch<React.SetStateAction<string>>;
isExpressionNamedQuery: boolean;
isExpressionValid: boolean;
isSuspended: boolean;
gridFilter: import("../../types").GridFilter;
isAdaptableReady: boolean;
namedQueries: import("../../types").NamedQuery[];
onAddCachedQuery: (cachedQuery: CachedQuery) => void;
availableColumns: {
columnId: string;
label: string;
onClick: () => void;
}[];
runQuery: (newExpression?: string) => void;
clearQuery: () => void;
onExpand: () => void;
saveQuery: () => void;
suspendGridFilter: () => void;
unSuspendGridFilter: () => void;
setGridFilterExpression: (expression: string) => void;
gridFilterAccessLevel: import("../../types").AccessLevel;
gridFilterHelpPage: string;
gridFilterLinkDisabled: boolean;
};