code: public CrosstabBuilder useMainReportDatasource(boolean preSorted) {
  		DJDataSource datasource = new DJDataSource("ds",DJConstants.DATA_SOURCE_ORIGIN_REPORT_DATASOURCE,DJConstants.DATA_SOURCE_TYPE_JRDATASOURCE);
  		datasource.setPreSorted(preSorted);
  		crosstab.setDatasource(datasource);
  		return this;
  	}
docs: To use main report datasource. There should be nothing else in the detail band
  @param preSorted
  @return