@progress/kendo-vue-grid
Version:
49 lines (48 loc) • 2.29 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 { SortDescriptor } from '@progress/kendo-data-query';
import { GridColumnMenuSortBaseProps } from '../interfaces/GridColumnMenuSortBaseProps';
import { PropType } from 'vue';
/**
* Can be used to check if sorting is applied to a specific field ([see example]({% slug column_menu_grid %}#toc-styling-the-column-menu-icon)). Useful for creating active sort indicators.
*
* @hidden
*/
export declare const sortGroupByField: (field: string, sort?: SortDescriptor[]) => boolean;
/**
* The props of the GridColumnMenuSort component.
*/
export interface GridColumnMenuSortProps extends GridColumnMenuSortBaseProps {
}
/**
* @hidden
*/
declare const GridColumnMenuSort: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
sortable: PropType<import('../interfaces/GridSortSettings').GridSortSettings>;
sort: {
type: PropType<SortDescriptor[]>;
};
column: PropType<import('../interfaces/GridColumnMenuColumnProps').GridColumnMenuColumnProps>;
onSortchange: PropType<(descriptors: SortDescriptor[], e: any) => void>;
onClosemenu: PropType<Function>;
}>, {
kendoLocalizationService: {};
}, {}, {}, {
onAscClick(e: any): void;
onDescClick(e: any): void;
onSort(e: any, selectedDir: 'asc' | 'desc'): void;
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
sortable: PropType<import('../interfaces/GridSortSettings').GridSortSettings>;
sort: {
type: PropType<SortDescriptor[]>;
};
column: PropType<import('../interfaces/GridColumnMenuColumnProps').GridColumnMenuColumnProps>;
onSortchange: PropType<(descriptors: SortDescriptor[], e: any) => void>;
onClosemenu: PropType<Function>;
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export { GridColumnMenuSort };