devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
12 lines (11 loc) • 596 B
JavaScript
/**
* DevExpress HTML/JS Reporting (designer\controls\utils\_headOrFooterBandType.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
*/
export function isHeaderOrFooterBandType(band) {
return ((band.controlType === 'ReportHeaderBand' || band.controlType === 'ReportFooterBand')
&& (band.parentModel().controlType === 'DevExpress.XtraReports.UI.XtraReport')) || (band.controlType === 'SubBand' && isHeaderOrFooterBandType(band.parentModel()));
}