How to hide Column headers?

Posted by: jatrules07 on 3 August 2017, 3:21 pm EST

  • Posted 3 August 2017, 3:21 pm EST

    Hello,
    I am  able to print the report successfully. My report has sub reports as well.
    The datasource is XML Provider.

    I don't want to show the column headers when no data is passed as input or retrieved from XML.
    At present the  column  header information shows up even though there is no data passed  or no data exists for those headers and a blank table with header information is printed.
    How can I stop the header information to appear dynamically, so that they show up only if there is any data. passed to it.

    Please advice.
    Jess
  • Replied 3 August 2017, 3:21 pm EST

    Hello,

    You can set the visibility of the textbox displaying the column headers based on the value of the fields that they are displaying. If the value of the field is an empty string you can set the visibility of the textbox to hidden otherwise not. I have attached a set of sample reports depicting the same, the main report consists of two subreports one having data and the other having no data, based on the same it is setting the visibility of the column header textboxes. Please preview the report named MainReport to observe the same.

    Hope it will help you. Please let me know if you have any queries further.

    Thanks,
    Manpreet Kaur
  • Replied 3 August 2017, 3:21 pm EST

    Please find the attached reports.

    2012/09/Sample Reports.zip
  • Replied 3 August 2017, 3:21 pm EST

    Thanks Manpreet

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels