Wrox Programmer Forums
BOOK: Professional Microsoft SQL Server 2008 Reporting Services ISBN: 978-0-470-24201-8
This is the forum to discuss the Wrox book Professional Microsoft SQL Server 2008 Reporting Services by Paul Turley, Thiago Silva, Bryan C. Smith, Ken Withee; ISBN: 9780470242018
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft SQL Server 2008 Reporting Services ISBN: 978-0-470-24201-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 9th, 2012, 03:27 AM
Registered User
Join Date: Nov 2011
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default How to achieve static table width while hiding columns

Hi Everyone,

I have a really frustrating problem that i have not been able to solve for quite some time now.
Despite looking for a workaround on the internet i still havn't found anything that could work in this regard.
May be someone can help me out with this here!!!!!

The issue i have is very basic.
I have a table that has a fixed number of columns (say 10), and i want to hide 3 of these columns at runtime based on the value of parameter which the user would select..
This can be easily done by setting the coulmn visibility of each of these 3 columns based on the value of the aforesaid parameter...
It's perfectly fine uptill here...

The problem is when the report shows up (with 3 columns hidden) the remaining 7 columns take up the place of the hidden columns and as a result the overall width of the table reduces accordingly...
I do not want this to happen..i.e. i want the table width to remain constant..

That is to say the remaining colums' width should somehow be able to expand so that the original overall width of the table remains same...

Is this possible to achieve....
Please Help..I really need this to get going asap.
Thanks In Advance...

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code for the Hiding and Showing Columns in a Table Recipe kroosa BOOK: Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports 2 August 27th, 2010 09:29 AM
Controlling Table width and column width blg XSLT 2 April 1st, 2010 12:03 PM
Hiding Report Columns gupta_abhinav99 Crystal Reports 1 February 9th, 2007 04:38 AM
how to achieve static method in an interface? cfouquet C# 3 September 28th, 2004 08:59 AM
Dynamically Hiding Columns r_ganesh76 Crystal Reports 1 September 23rd, 2004 11:18 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.