Need to hide table column that has no data

4 posts, 0 answers
  1. Ronnie
    Ronnie avatar
    3 posts
    Member since:
    Aug 2011

    Posted 30 Aug 2011 Link to this post

    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?
  2. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 02 Sep 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Manuel
    Manuel avatar
    1 posts
    Member since:
    Mar 2015

    Posted 20 Oct 2015 Link to this post

    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?

     

  5. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 22 Oct 2015 Link to this post

    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
Back to Top