Пример #1
0
        public static GroupHeaderHelper AddGroupHeaderFranchise(this XtraReport report,
                                                                string fieldName,
                                                                XRColumnSortOrder sortOrder = XRColumnSortOrder.Ascending)
        {
            var detailReport = report.GetLastDetailReport();

            return(new GroupHeaderHelper(detailReport.AddGroupHeaderBand(fieldName, sortOrder)));
        }
        public static GroupFooterHelper AddGroupFooterFranchise(this XtraReport report)
        {
            var detailReport = report.GetLastDetailReport();

            return(new GroupFooterHelper(detailReport.AddGroupFooterBand()));
        }
 protected BaseMasterDetailReportHelper(XtraReport report, XtraReportBase detailReport = null)
     : base(report)
 {
     this.Report = detailReport ?? report.GetLastDetailReport();
 }