Filtering table rows

2 posts, 0 answers
  1. Athul
    Athul avatar
    4 posts
    Member since:
    Aug 2018

    Posted 30 Apr 2019 Link to this post

  2. I have a report with a table in the detail section inside a Group: Location. Both the report and the table have the same data source which is specified through code. I am using a filter in the table to get the entries by the Location in the group (Fields.Location = ReportItem.Parent.DataObject.Location). While the table is getting filtered, the rows are repeating which is not desirable. Is this the proper way to do this kind of filtering?

  • Neli
    Neli avatar
    251 posts

    Posted 02 May 2019 Link to this post

    Hi Athul,

    The detail section is rendered as many times as the number of the data records when a data source is added to the report. If the Table and the report are both bound to data (Report.DataSource is set in order to use the fields from the data source outside of the table) and the table is inside the Detail section it will be repeated (with the headers) for every row in the report's data source. For that reason, I would recommend to either remove the datasource of the report or move the table into a group header or footer (the group can be static). 

    I noticed that you have related question here: Please review my answer and let me know if you have any further questions.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  • Back to Top