Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Matrix column dymamic width


Matrix column dymamic width

Author
Message
dva2007
dva2007
Mr or Mrs. 500
Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)Mr or Mrs. 500 (550 reputation)

Group: General Forum Members
Points: 550 Visits: 1109
Hi friends,

i am wondering if this is possible. I've set up the matrix to show multiple columns and the number of columns can change from 7, 8 upto 30-40 columns. I've set up the width which works fine for 10-15 columns but some time when i've only 7 columns it looks only half a page rendered. The solution i've used at the moment is 3 matrix and based on numebr of columns in the query it will pupulate different matrix.

If 10 columns then matrix 1 with wide width of column
if between 10-20 columns then matrix 2 with medium width of column
if between 20-30 columns then matrix 3 with small width of column

is it possible to dymically handle the width of the column? i cant put the expression on column width.
Daniel Bowlin
Daniel Bowlin
SSCrazy
SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)SSCrazy (3K reputation)

Group: General Forum Members
Points: 2954 Visits: 2629
Going at it directly with the width property won't work as you have already discovered. The only solution I can come up with is to get very complicated with a lot of hidden/visible expression work for different fixed width columns. The one or two times I have run into this issue I decided the solution was too complicated to persue for the provided benefit.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search