UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

21 lines (20 loc) 848 B
/** * DevExpress HTML/JS Reporting (designer\bands\xrVerticalDetailBand.js) * Version: 24.2.8 * Build date: Jun 17, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { deserializeArray } from '@devexpress/analytics-core/analytics-utils'; import { GroupFieldModel } from './groupfield'; import { VerticalBandViewModel } from './xrVerticalBand'; export class VerticalDetailBandViewModel extends VerticalBandViewModel { dispose() { super.dispose(); this.disposeObservableArray(this.sortFields); this.resetObservableArray(this.sortFields); } preInit(band, parent, serializer) { this.sortFields = deserializeArray(band.SortFields, (field) => { return new GroupFieldModel(field, serializer); }); } }