Page 1 of 1

How do I size the columns in a table?

Posted: Thu Jan 10, 2013 7:48 pm
by Scottioioio
I have a report with a table that displays the rows from a data source. The table/data source has five columns. The table auto-sizes each column in the table so that they are equal widths, but some of the columns contain lengthy text values while other columns are numeric IDs.

How do I configure the table so that, say, column 1 is just 200 pixels wide or 10% of the width or whatever, while column 2, say, is 500 pixels wide or 25% of the width or whatever?

Thanks!

Re: How do I size the columns in a table?

Posted: Fri Jan 11, 2013 12:53 pm
by HighAley
Hello.

Please, try to disable the Auto Width property.

Thank you.

Re: How do I size the columns in a table?

Posted: Mon Jan 14, 2013 10:21 pm
by Scottioioio
Thank you for your assistance, Aleksey.

In case anyone else bumps into this problem, what I did was set the Table's Auto Width property to Table and its Auto Width Type property to Full Table. Next, I went to each column in the table and set the Can Shrink property to True for those columns I wanted to be less wide and the Can Grow property to True for those that I wanted to fit the larger text.

Aleksey, is that what you had in mind with your suggestion, or are there other ways I can have more fine-grained control over the column widths, for instance the ability to say for one specific column that it should have a width of, say, 50% while the rest are auto-sized?

Thanks

Re: How do I size the columns in a table?

Posted: Tue Jan 15, 2013 8:32 am
by HighAley
Hello.

You don't need to change Can Shrink and Can Grow properties. They are change the hight only.
It's enough to set the Auto Width property to Table and Auto Width Type property to Full Table or Last Columns.

Thank you.