UNPKG

jqwidgets-framework

Version:

jQWidgets is an advanced Angular, Vue, Blazor, React, Web Components, jquery, ASP .NET MVC, Custom Elements and HTML5 UI framework.

93 lines (92 loc) 3.12 kB
import * as React from 'react'; declare class JqxPivotGrid extends React.PureComponent<IPivotGridProps, IState> { protected static getDerivedStateFromProps(props: IPivotGridProps, state: IState): null | IState; private _jqx; private _id; private _componentSelector; constructor(props: IPivotGridProps); componentDidMount(): void; componentDidUpdate(): void; render(): React.ReactNode; setOptions(options: IPivotGridProps): void; getOptions(option: string): any; getInstance(): any; refresh(): void; getPivotRows(): IPivotGridRows; getPivotColumns(): IPivotGridColumns; getPivotCells(): object; private _manageProps; private _wireEvents; } export default JqxPivotGrid; export declare const jqx: any; export declare const JQXLite: any; interface IState { lastProps: object; } export interface IPivotGridItemsRenderer { pivotItem?: any; } export interface IPivotGridCellsRenderer { pivotCell?: any; } export interface IPivotGridColumns { resizable?: boolean; sortable?: boolean; showExpandCollapseButtons?: boolean; parentPivotGrid?: object; items?: IPivotGridItem[]; valueItems?: IPivotGridItem[]; isHidden?: boolean; } export interface IPivotGridItem { isExpanded?: boolean; isHidden?: boolean; isSelected?: boolean; parentItem?: IPivotGridItem; hierarchy?: any; parentPivotGrid?: object; items?: IPivotGridItem[]; valueItems?: IPivotGridItem[]; } export interface IPivotGridRows { resizable?: boolean; sortable?: boolean; showExpandCollapseButtons?: boolean; parentPivotGrid?: object; items?: IPivotGridItem[]; valueItems?: IPivotGridItem[]; isHidden?: boolean; } interface IPivotGridOptions { source?: any; localization?: any; scrollBarsEnabled?: boolean; selectionEnabled?: boolean; multipleSelectionEnabled?: boolean; treeStyleRows?: boolean; autoResize?: boolean; itemsRenderer?: (pivotItem: IPivotGridItemsRenderer['pivotItem']) => string; cellsRenderer?: (pivotCell: IPivotGridCellsRenderer['pivotCell']) => string; } export interface IPivotGridProps extends IPivotGridOptions { className?: string; style?: React.CSSProperties; onPivotitemexpanding?: (e?: Event) => void; onPivotitemexpanded?: (e?: Event) => void; onPivotitemcollapsing?: (e?: Event) => void; onPivotitemcollapsed?: (e?: Event) => void; onSortchanging?: (e?: Event) => void; onSortchanged?: (e?: Event) => void; onSortremoving?: (e?: Event) => void; onSortremoved?: (e?: Event) => void; onPivotitemselectionchanged?: (e?: Event) => void; onPivotcellmousedown?: (e?: Event) => void; onPivotcellmouseup?: (e?: Event) => void; onPivotcellclick?: (e?: Event) => void; onPivotcelldblclick?: (e?: Event) => void; onPivotitemmousedown?: (e?: Event) => void; onPivotitemmouseup?: (e?: Event) => void; onPivotitemclick?: (e?: Event) => void; onPivotitemdblclick?: (e?: Event) => void; }