c# - Telerik Reports Table view duplicated -
hi using telerik report view generate report.
all good, have mapped data data source , report looks great in design view.
but when view in preview pane duplicates table x times number of rows have returned.
you have duplicate table cause datasource bound page item.
so lets quick. 2 solutions , choose one!
use gui apply filter on table.
filter on unique data. :
=fields.myfield_id_xyz = =reportitem.dataobject.myfield_id_xyz
in code behind :
this.table2.filters.add( new telerik.reporting.filter( "= fields.myfield_id_xyz" , telerik.reporting.filteroperator.equal , "=reportitem.dataobject.myfield_id_xyz" ));
this prevent duplication of table.
filtering on reportitem.dataobject.myfield_id_xyz
, current row of detailsection
.
Comments
Post a Comment