UNPKG

@progress/kendo-angular-pivotgrid

Version:
44 lines (43 loc) 1.78 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Specifies the supported values of the [`VirtualizationSettings`](slug:api_pivotgrid_virtualizationsettings) `type` property. * * The available values are: * * `row`—Enables row virtualization only. * * `column`—Enables column virtualization only. * * `both`—Enables both row and column virtualization. */ export type PivotGridVirtualizationSettingsType = 'row | column | both'; /** * Represents the virtualization settings for the PivotGrid data table. * Controls how many rows and columns are rendered in the DOM to improve performance with large datasets. */ export interface VirtualizationSettings { /** * Specifies the virtualization type for the PivotGrid data table. When virtualization is enabled, both rows and columns are virtualized by default. * @default 'both' */ type?: PivotGridVirtualizationSettingsType; /** * Represents the actual height of each data row in the DOM in pixels. * @default 37 */ rowHeight?: number; /** * Specifies the maximum number of value table rows that render in the DOM. * @default 50 */ rows?: number; /** * Specifies the maximum number of value table columns that render in the DOM. * @default 10 */ columns?: number; } /** * @hidden */ export declare const normalizeVirtualSettings: (settings: boolean | VirtualizationSettings) => VirtualizationSettings;