This is a migrated thread and some comments may be shown as answers.

multi-column - CanGrow property? Lock Height?

2 Answers 99 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
cli
Top achievements
Rank 1
cli asked on 15 Jul 2008, 01:43 AM
Hello,
   I'm not sure if I'm missing something.  I'm trying to do a multi-column but force it to list the second column before the end of a page.  For example, say I have a list of 6 items and a multi-column w/ two columns.  I would like it to list 3 items per column even if it's in the middle of the page.  If I could lock the height somehow it would seem this would solve the problem (like the CanGrow w/ a textbox).  However, I can't seem to figure out anyway to do this.  It doesn't seem I can lock the height w/ a panel either.  The multi-column is actually a subreport.  I tried limitting the subreport report's height w/o any luck either.  Is this not possible or am I missing something?  I'm sending out PDF's directly from the browser.  Thanks for any help!

cli

2 Answers, 1 is accepted

Sort by
0
Milen
Telerik team
answered on 15 Jul 2008, 01:18 PM
Hello cli,

What you are trying to do is to restrict the height that the detail sections occupy on each page. You can accomplish that by adjusting the height of the page sections (page header/footer). For example by increasing the height of the page footer, you decrease the count of the detail sections that fit on the page.

Note that currently when you use a multicolumn report as a subreport the subreport is rendered as singlecolumn report. Try to change the data you use as data source of the report so that you do not need to use a subreport.

Let us know if you need further assistance.

Regards,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
msulis
Top achievements
Rank 1
answered on 04 Feb 2010, 11:59 PM
Has there been any additional thought given to this since the original post?

I've got a multi-column subreport which I'd like to be only about 2in high, forcing it to go across. However, I have lots of other items that I need to show in the detail section after it, so I can't simply increase the size of the Page Footer to take up the majority of the page. That seems a bit inelegant anyway.

It seems to me this issue could be managed nicely by providing "CanGrow/CanShrink" properties to the Subreport. By restricting its height, it would be "forced" into its multicolumn direction.

Any thoughts?

Tags
General Discussions
Asked by
cli
Top achievements
Rank 1
Answers by
Milen
Telerik team
msulis
Top achievements
Rank 1
Share this question
or