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

Hide Column using selected Parameter(filter)

3 Answers 1078 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yogi
Top achievements
Rank 1
Yogi asked on 28 Sep 2015, 10:26 AM
I want to hide table column according to the selected parameter(filter). How I can implement this using ​Telerik ​Report Designer 

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 28 Sep 2015, 11:43 AM
Hi Yogi,

You can apply a filter for the data visualized by a column group. For more details check my post in hide a table column.

Regards,
Stef
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
Yogi
Top achievements
Rank 1
answered on 28 Sep 2015, 12:11 PM
 I went through your link "hide a table column". But Can you please elaborate step by step how to implement this. I have a columns like Retailer, Product ID, Product Description, Delivery Date. I built ColumnInfo parameter which is holding column names with its ID. If user select Retailer and product description in the filter then I only want to show Retailer and Product Description. Currently I dont have any grouping on these columns. Please any help will be appreciated.
0
Stef
Telerik team
answered on 30 Sep 2015, 09:35 AM
Hello Yogi,

Based on your description, there is a multivalue report parameter which determines which columns to be visible. Multivalue parameters are evaluated as arrays of objects, thus you can build a filter expression checking if the name of the column is IN (like the IN operator) the selected parameters values.

The attached video and TRDX file illustrate the suggestion. The report (TRDX file) can be previewed with the Standalone Report Designer of Telerik Reporting Q2 2015 SP1 v9.1.15.731.

Regards,
Stef
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
Yogi
Top achievements
Rank 1
Answers by
Stef
Telerik team
Yogi
Top achievements
Rank 1
Share this question
or