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

Odd formatting and sub reports

3 Answers 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 17 Jan 2017, 05:50 PM

Hi,

So the report I'm trying to create is kinda funky, and I've found that a table seems to be my best bet for this, but I can't quite get the subreport to do what I want it to do. So here's the basic layout:
________________________________________________________________
|Detial|Detail                |subreportdetail    | subreportdetail |detail | detail | detail|
|_____|_____________|______________|_____________|_____|_____|_____|

Unfortunately, the vertical lines are a must, and must grow with the detail section.  Is there a way to do this or am I just gonna tear my hair out?

3 Answers, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
answered on 17 Jan 2017, 06:00 PM
So I actually figured this out a few seconds later, but the persistent problem is that the subreport items must grow with the bounding table cell. What I ended up doing was merging 4 cells together for the subreport items, and used the textboxes in the subreport to give the dividing line between the two fields. Now I just need that line, along with the subreport text boxes, to grow when the cell it's living in grows.
0
Daniel
Top achievements
Rank 1
answered on 17 Jan 2017, 06:32 PM
And I solved my persistent problem as well. I had to split my subreport into two subreports and add an extra column into the table to accommodate the extra subreport. All's well that ends well I guess. I think there's gotta be a better way to do this type of thing, but oh well.
0
Stef
Telerik team
answered on 18 Jan 2017, 02:15 PM
Hi Daniel,

In general, items are growing vertically to fit their content. The SubReport item is capable of growing in width to fit the sub report's dimensions.You can create a layout with Panel items and SubReport items, all placed into a single Panel item nested in a cell of a Table/List/Crosttab item. Then style the SubReport items (show their borders or place Shape items in between them.

The result will be generated based on the Design Considerations for Report Item Layout.


I hope this helps.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Stef
Telerik team
Share this question
or