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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Removing column space when hiding a column

Thread ID:

Created:

Updated:

Platform:

Replies:

151038 Jan 28,2020 07:57 PM UTC Feb 3,2020 06:26 AM UTC Report Platform 5
loading
Tags: Report Viewer
Paul West
Asked On January 28, 2020 07:57 PM UTC

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?

Vinoth Srinivasan [Syncfusion]
Replied On 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. 


Paul West
Replied On 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

Vinoth Srinivasan [Syncfusion]
Replied On 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. 


Paul West
Replied On 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).


Vinoth Srinivasan [Syncfusion]
Replied On 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. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon