@adaptabletools/adaptable
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
19 lines (18 loc) • 708 B
TypeScript
import * as React from 'react';
import { AdaptablePredicateDef, ColumnScope } from '../../../../types';
import { EntityRulesEditorProps, RuleType } from '../index';
export interface EntityRulePredicatesEditorProps {
descriptions: EntityRulesEditorProps<any>['descriptions'];
data: {
Rule: RuleType;
Scope: ColumnScope;
};
onChange: (data: {
Rule: RuleType;
Scope: ColumnScope;
}) => void;
predicateDefs: AdaptablePredicateDef[];
getPredicateDefsForColId?: (colId: string) => AdaptablePredicateDef[];
enablePredicateColumnId?: boolean;
}
export declare const EntityRulePredicatesEditor: React.FunctionComponent<EntityRulePredicatesEditorProps>;