We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

Removing column space when hiding a column

When hiding a column at runtime in a Tablix, the hidden column leaves a space. Is there any way to have the columns contract to remove the space?

5 Replies

VS Vinoth Srinivasan Syncfusion Team January 29, 2020 07:31 AM UTC

Hi Paul, 

We have validated the reported problem with our latest release, but while setting column visibility the column has been hiding without creating white space. So, could you please share your issue reproducible report and product version you are using. It will be helpful for us in further validation. 

Regards, 
Vinoth S. 



PW Paul West January 30, 2020 04:05 PM UTC

Using:
BoldReports.AspNet.Core 2.1.23
BoldReports.NetCore 2.1.23

See attached zip. Column set to Hidden=True. Report shows blank column.



Attachment: 20200129_10_37_17HiddenColumn_3445611d.zip


VS Vinoth Srinivasan Syncfusion Team January 31, 2020 09:05 AM UTC

Hi Paul, 
 
In our both WPF and Web Report Designer we need to set the visibility for Tablix member as shown in below steps. 
Step 1: Click the advanced mode for column grouping as shown in below snap. 
Web Designer: 
 
WPF Designer: 
 
 
Step 2: Set the Visibility for Tablix member when clicking the column as shown in below snap. 
Web Designer: 
 
 
WPF Designer: 
 
 
Regards, 
Vinoth S. 



PW Paul West January 31, 2020 04:34 PM UTC

Thank you! The missing piece was setting visibility in the column group. To be clear, it appears that if you select the column directly in the Tablix and set visibility, you're defining whether or not to show the data in the column cells. Setting visibility in the column group defines whether or not to show the column cells (ie. hide the column).



VS Vinoth Srinivasan Syncfusion Team February 3, 2020 06:26 AM UTC

Hi Paul, 
 
Thanks for your update. Yes, we need to set the visibility to column group member to hide the entire column as per your requirement. 
 
Regards, 
Vinoth S. 


Loader.
Up arrow icon