@progress/kendo-angular-pivotgrid
Version:
PivotGrid package for Angular
59 lines (58 loc) • 2.56 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { NgZone, SimpleChanges } from '@angular/core';
import { PivotGridDataService } from './pivotgrid-data.service';
import { PivotBaseBindingDirective } from './base-binding-directive';
import { PivotGridState } from '../models/configurator-settings';
import * as i0 from "@angular/core";
/**
* Represents a directive that binds the PivotGrid to data using an Online Analytical Processing (OLAP) service ([see example]({% slug directives_databinding_remote_pivotgrid %})).
*
* @example
* ```html
* <kendo-pivotgrid
* kendoPivotOLAPBinding
* [url]="url"
* catalog="Adventure Works DW 2008 SE"
* cube="Adventure Works"
* [columnAxes]="columnAxes"
* [rowAxes]="rowAxes"
* [measureAxes]="measureAxes">
* </kendo-pivotgrid>
* ```
*
* @remarks
* Applied to: {@link PivotGridComponent}
*/
export declare class PivotOLAPBindingDirective extends PivotBaseBindingDirective {
/**
* Defines the OLAP service endpoint where the data is processed and retrieved to render the pivot table.
*/
url: string;
/**
* Sets the cube name that is used to retrieve data for the pivot table rendering.
*/
cube: string;
/**
* Sets the database name that is used to retrieve the data from the specified connection string.
*/
catalog: string;
type: 'local' | 'olap';
constructor(dataService: PivotGridDataService, zone: NgZone);
ngOnChanges(changes: SimpleChanges): void;
protected loadData(state: PivotGridState): void;
protected loadFields(): void;
protected updateFields(event: any, fields: any): Promise<any>;
/**
* @hidden
*/
fetchChildren(event: any, fields: any): Promise<any>;
private normalizeKPIs;
private getField;
private loadKPIs;
private loadAvailableFields;
static ɵfac: i0.ɵɵFactoryDeclaration<PivotOLAPBindingDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<PivotOLAPBindingDirective, "[kendoPivotOLAPBinding]", ["kendoPivotOLAPBinding"], { "url": { "alias": "url"; "required": false; }; "cube": { "alias": "cube"; "required": false; }; "catalog": { "alias": "catalog"; "required": false; }; }, {}, never, never, true, never>;
}