ReportDataSourceHelperBase.SetupReportDataSource(XtraReport, CriteriaOperator, Boolean, SortProperty[], Boolean) Method
Passes criteria and sorting to the report data source.
Namespace: DevExpress.ExpressApp.ReportsV2.Services
Assembly: DevExpress.ExpressApp.ReportsV2.v24.1.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2
Declaration
Parameters
Name | Type | Description |
---|---|---|
report | XtraReport | An XtraReport object that specifies the report. |
criteria | CriteriaOperator | A CriteriaOperator object used to filter data. |
canApplyCriteria | Boolean | true, if the criteria can be applied; otherwise, false. |
sortProperty | SortProperty[] | An array of SortProperty objects which specifies data sorting. |
canApplySortProperty | Boolean | true, if the sorting can be applied; otherwise, false. |
Remarks
The SetupReportDataSource method is called by the ReportDataSourceHelperBase.SetupReport method. You can customize the SetupReportDataSource method behavior by handling the ReportDataSourceHelper.CustomSetupReportDataSource event.