@progress/kendo-angular-pivotgrid
Version:
PivotGrid package for Angular
35 lines (34 loc) • 1.42 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* The supported values of the [`VirtualizationSettings`]({% slug api_pivotgrid_virtualizationsettings %}) `type` property - `row`, `column` or `both`.
*/
export type PivotGridVirtualizationSettingsType = 'row | column | both';
export interface VirtualizationSettings {
/**
* Enables the virtualization of the PivotGrid data table. By default both rows and columns are virtualized when the virtualization is enabled.
* @default `both`
*/
type?: PivotGridVirtualizationSettingsType;
/**
* Represents the actual height of each data row in the DOM in pixels.
* @default 37
*/
rowHeight?: number;
/**
* Sets the maximum number of value table rows that will be rendered in the DOM.
* @default 50
*/
rows?: number;
/**
* Sets the maximum number of value table columns that will be rendered in the DOM.
* @default 10
*/
columns?: number;
}
/**
* @hidden
*/
export declare const normalizeVirtualSettings: (settings: boolean | VirtualizationSettings) => VirtualizationSettings;