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

Can't get Panel to collapse when invisible?

1 Answer 267 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 11 Mar 2013, 03:56 AM

Hi, I'm using version Q1 2013.

We have a report which consists of several panels laid out next to each other vertically - each panel contains a header textblock and a table for rendering fields.

When the panels are not shown, they should collapse so that panels underneath take their space completely (ie, so there are no whitespace gaps).

If I set the visibility of a section panel to false using conditional formatting, then the panel does not display, but the whitespace does not collapse either as desired. It looks like the panel is still taking up the minimum amount of space as it does in the designer.

How do I go about resolving this? I thought that this would just work out of the box, so not sure what I'm doing wrong?

Thanks,

Sam

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 13 Mar 2013, 12:52 PM
Hello Sam,

The behaviour of hiding and collapsing items is described in the following article: Design Considerations for Report Item Layout.
Items on the "second row" will go up only if you hide the entire "first row", meaning that if you have 3 panels on top, all of them must be hidden in order for the items below to take their place. If that does not suit your needs, you will need to create some custom logic that will move the items around depending on the configuration. 
 

All the best,
Elian
the Telerik team

Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.

Tags
General Discussions
Asked by
Sam
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or