Table inside Group Header - Howto Filter Data

4 posts, 0 answers
  1. Alois
    Alois avatar
    7 posts
    Member since:
    Jun 2012

    Posted 29 Apr Link to this post

    Hello!

    I have designed a table inside a Group Header.

    Now I want to filter the datasource of the table with the key value of the group header.

    How can I make this?

    A.Kleine

  2. Neli
    Admin
    Neli avatar
    121 posts

    Posted 01 May Link to this post

    Hi Alois,

    This requirement can be achieved in the two ways which are demonstrated in the attached report. It contains a CsvDataSource with Country, City and Population columns. For each country, the cites and the population will be displayed. Below the two methods are explained:
      1) Through Data Binding (demonstrated in the upper tables). After the table is created, from the Properties grid -> Data ->click on Bindings and set it as follows:
    Property path: DataSource
    Expression: =ReportItem.DataObject.
    Then remove the datasource. Note, that this is the recommended way.

    2) Through Filtering of the table: add a Filter from the Properties grid to the table as follows:
    Expression: =Fields.Country
    Operator: =
    Value: =ReportItem.DataObject.COUNTRY

    Please let me know if you have any additional questions.

    Regards,
    Neli
    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
  3. Alois
    Alois avatar
    7 posts
    Member since:
    Jun 2012

    Posted 01 May Link to this post

    Hello Neli,

    that sounds great.

    Where can I find the attached report sammple?

    Alois

  4. Neli
    Admin
    Neli avatar
    121 posts

    Posted 03 May Link to this post

    Hi Alois,

    Please, find the attached file.

    Regards,
    Neli
    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