devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
22 lines (21 loc) • 915 B
JavaScript
/**
* DevExpress HTML/JS Reporting (designer\bands\xrVerticalDetailBand.js)
* 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 { 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);
}
afterDeserialize(band, parent, serializer) {
super.afterDeserialize(band, parent, serializer);
this.sortFields = deserializeArray(band.SortFields, (field) => { return new GroupFieldModel(field, serializer); });
}
}