Hide cross tab columns at run time without occupying space
Posted: Thu Apr 30, 2015 9:01 am
I am using Stimulsoft Reports.Web 2015.1.
Our client requires a report in which columns can be shown/hidden based on user input.
Upon reading your forums, I learned that this can be done using cross tabs.
Indeed, this was achieved by using Conditions to manage the visibility of cross tab column fields
and adding code in the BeforeRender event of the page to manage the visibility of cross tab column headers.
However, even if a cross tab column is hidden/disabled, it still occupies its original space.
Is there a way in which when cross tab column is hidden/disabled, the next columns shifts to the left?
Can a cross tabs column's width be adjusted at run time?
If so, a possible option would be to just change the width of the column to zero and look like it didn't take space at all.
Please advise. Thanks.
Our client requires a report in which columns can be shown/hidden based on user input.
Upon reading your forums, I learned that this can be done using cross tabs.
Indeed, this was achieved by using Conditions to manage the visibility of cross tab column fields
and adding code in the BeforeRender event of the page to manage the visibility of cross tab column headers.
However, even if a cross tab column is hidden/disabled, it still occupies its original space.
Is there a way in which when cross tab column is hidden/disabled, the next columns shifts to the left?
Can a cross tabs column's width be adjusted at run time?
If so, a possible option would be to just change the width of the column to zero and look like it didn't take space at all.
Please advise. Thanks.