@progress/kendo-react-grid
Version:
KendoReact Grid package
44 lines (43 loc) • 1.07 kB
TypeScript
import { GridFilterCellProps } from './GridFilterCellProps';
/**
* The props that will be passed to the UI of the ColumnMenu filter component.
*/
export interface GridColumnMenuFilterUIProps {
/**
* The options of the first filter.
*/
firstFilterProps: GridFilterCellProps;
/**
* The options of the second filter.
*/
secondFilterProps: GridFilterCellProps;
/**
* The current value of the filter logic.
*/
logicValue?: {
text: string;
operator: any;
};
/**
* The list of the filter logic options.
*/
logicData: {
text: string;
operator: any;
}[];
/**
* The method that will be called to notify the parent about a change in the filter logic.
*/
onLogicChange: (e: any) => void;
/**
* Indicates if the second filter will be hidden.
*/
hideSecondFilter?: boolean;
/**
* The list of the default operators for the current filter type.
*/
operators: Array<{
text: string;
operator: any;
}>;
}