This is a migrated thread and some comments may be shown as answers.

Table inside Group Header - Howto Filter Data

3 Answers 417 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alois
Top achievements
Rank 1
Alois asked on 29 Apr 2019, 05:55 AM

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

3 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 01 May 2019, 12:23 PM
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
0
Alois
Top achievements
Rank 1
answered on 01 May 2019, 05:23 PM

Hello Neli,

that sounds great.

Where can I find the attached report sammple?

Alois

0
Neli
Telerik team
answered on 03 May 2019, 08:31 AM
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
Tags
General Discussions
Asked by
Alois
Top achievements
Rank 1
Answers by
Neli
Telerik team
Alois
Top achievements
Rank 1
Share this question
or