Bug 420754 - page breaks inserted in list even when grid inside list set to inline
Summary: page breaks inserted in list even when grid inside list set to inline
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 15:13 EDT by Gibran Shah CLA
Modified: 2014-08-29 13:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gibran Shah CLA 2013-10-30 15:13:13 EDT
This bug shows up in Actuate BIRT Designer Professional 3.7.2.

Create a list, set its page breaks to "avoid" and its page break interval to 0. Create a grid inside the list. Add enough rows to span roughly half the page. Set its page breaks to "avoid". Set it to "inline". Bind the list to a dataset whose query will bring back at least 3 rows. Bind some data from the dataset to the grid.

If the grid is created large enough (i.e. it spans about half the page), then the second or third grid in the list should be put on the next page (i.e. a page break will be inserted between the grid). This will be true even if there is plenty of space in the list to the right for the grid to be placed next to the other grids horizontally.

What is happening is that the grids are aligned vertically at first. Whenever a grid intersects with the end of a page, a page break is inserted. The grid will either be cut in two (the first half remaining on the first page, the second half being pushed to the next page) or the whole grid will be pushed to the next page (this depends on whether you have the inside page break set to "avoid" or not). Then, if you have the grid set to "inline", it ONLY THEN align them horizontally. BUT IT WILL BRING THE PAGE BREAKS WITH THEM. The result is that the grid ends up on the next page anyway.