devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
49 lines (48 loc) • 2.25 kB
TypeScript
/**
* DevExpress HTML/JS Reporting (designer\bands\xrGroupBand.d.ts)
* Version: 25.1.3
* Build date: Jun 26, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
import { ElementViewModel } from '@devexpress/analytics-core/analytics-elements';
import { ModelSerializer } from '@devexpress/analytics-core/analytics-utils';
import { ControlType } from '../controls/utils/_controlTypes';
import { GroupFieldModel } from './groupfield';
import { BandViewModel } from './xrBand';
import * as ko from 'knockout';
export interface ISortingSummary {
enabled: boolean;
Function: string;
fieldName: string;
ignoreNullValues: string;
sortOrder: string;
getPath: (propertyName: string) => string;
}
export declare class GroupBandViewModel extends BandViewModel {
level: ko.Observable<number> | ko.Computed<number>;
_level: ko.Observable<number> | ko.Computed<number>;
maxLevel: ko.PureComputed;
constructor(band: any, parent: ElementViewModel<ControlType>, serializer?: ModelSerializer);
coerceDefaultLevelValue(newValue: number): number;
private _updateLevelsOnInsertWithDefaultLevel;
private _updateLevelsOnInsert;
updateLevelsOnInsert(maxLevel: number, newValue: number): void;
private _calculateEndIndex;
private _reorderLevelsCore;
reorderLevels(maxLevel: number, newValue: number): void;
getSortedGroupBands(parentBands: BandViewModel[]): GroupBandViewModel[];
findMinPossibleLevel(parentBands: ko.ObservableArray<BandViewModel>): number;
getFilteredParentBands(): GroupBandViewModel[];
}
export declare class GroupHeaderBand extends GroupBandViewModel {
groupFields: ko.ObservableArray<GroupFieldModel>;
sortingSummary: ISortingSummary;
constructor(band: any, parent: ElementViewModel<ControlType>, serializer?: ModelSerializer);
getSortedGroupBands(parentBands: BandViewModel[]): GroupBandViewModel[];
dispose(): void;
}
export declare class GroupFooterBand extends GroupBandViewModel {
constructor(band: any, parent: ElementViewModel<ControlType>, serializer?: ModelSerializer);
getSortedGroupBands(parentBands: BandViewModel[]): GroupBandViewModel[];
}