@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
30 lines (29 loc) • 1.18 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 { CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
/**
* Represents a composite highlight descriptor for a grid.
* It contains a map of cell identifiers to their highlight status,
* an array of filter descriptors, and the logical operator used to combine the filters.
*/
export interface CompositeHighlightDescriptor {
/**
* A map of cell identifiers to a boolean indicating whether the cell should be highlighted.
*/
cells: {
[key: string]: boolean;
};
/**
* An array of filter descriptors representing the filters applied to the grid.
*/
filters: Array<FilterDescriptor | CompositeFilterDescriptor>;
/**
* The logical operator ('and' | 'or') used to combine the filters.
*/
logic: 'and' | 'or';
}