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

Need to hide table column that has no data

3 Answers 799 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ronnie
Top achievements
Rank 1
Ronnie asked on 30 Aug 2011, 09:27 PM
I have a table with 3 columns. The 3rd column usually has no data. I want to hide this column if there is no data. How can I do this?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 02 Sep 2011, 03:09 PM
Hello Ronnie,

Telerik Reporting is a data driven solution. Thus to hide certain table columns our suggestion is to use a group filter. To explore the table groups, please open the group explorer in extended mode.

Kind regards,
Peter
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Manuel
Top achievements
Rank 1
answered on 20 Oct 2015, 11:19 PM

im trying to hide a column as well,

I have 10 columns and i want to hide the empty columns, i created the groups and i add the filter and it is not working well,it hides the column always,

The filter that i add is:

Expression: =Fields.Column1

Operator: <>

Value: Blank

I tried many combintations, not equals to null, <> to X. and it is not working.

Any idea?

 

0
Nasko
Telerik team
answered on 22 Oct 2015, 11:18 AM
Hello Manuel,

Check the values in the database for Fields.Column1. In case it contains blank values you will need to compare it to an empty string "" in the filtering expression. If it contains NULL values you will need to use the IS [NOT] NULL operator to create the filter.

Regards,
Nasko
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
Ronnie
Top achievements
Rank 1
Answers by
Peter
Telerik team
Manuel
Top achievements
Rank 1
Nasko
Telerik team
Share this question
or