@progress/kendo-vue-grid
Version:
63 lines (62 loc) • 1.76 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
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;
/**
* The method that will be called to notify the parent about a change in the filter.
*/
onChange?: (e: any, filterIndex: number) => void;
/**
* The trigger focus event.
*/
onFocus?: (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;
}>;
/**
* The method for rendering the cell.
*/
render?: any;
}