UNPKG

@progress/kendo-react-pivotgrid

Version:

React PivotGrid (also called Pivot Table) can be data-bound to an OLAP service and customized extensively. KendoReact PivotGrid package

58 lines (57 loc) 2.45 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { ChipListProps as KendoReactChipListProps } from '@progress/kendo-react-buttons'; import { FieldProps } from '@progress/kendo-react-form'; import { PivotGridAxis } from '@progress/kendo-pivotgrid-common'; import { CustomComponent } from '@progress/kendo-react-common'; import * as React from 'react'; /** * Represents the props of the [KendoReact PivotGridAxesEditor component](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridaxeseditor). */ export interface PivotGridAxesEditorProps extends FieldProps { /** * Represents the `value` of the AxesEditor. * * The `value` is an array of [PivotGridAxis](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridaxis) */ value: PivotGridAxis[]; /** * Indicates which of the three available axes are represented by the editor: * - columnAxes * - rowAxes * - measureAxes */ field: string; /** * Overrides the default `chipList` component. * * The default component is: [KendoReactChipList](https://www.telerik.com/kendo-react-ui/components/buttons/api/chiplist). */ chipList?: CustomComponent<KendoReactChipListProps>; /** * Sets the `className` props of the ClipList component. */ className?: string; } /** * Represents the object which is passed to the [`ref`](https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom) callback of the PivotGridAxesEditor component. */ export interface PivotGridAxesEditorHandle { /** * The properties passed to the PivotGridAxesEditor component. */ props: PivotGridAxesEditorProps; /** * The DOM element of the PivotGridAxesEditor component. */ element: HTMLDivElement | null; } /** * Represents the [KendoReact PivotGridAxesEditor component](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridaxeseditorprops). */ export declare const PivotGridAxesEditor: React.ForwardRefExoticComponent<PivotGridAxesEditorProps & React.RefAttributes<PivotGridAxesEditorHandle>>;