Share

PaperClips

Tracker: Support Requests

5 GridPrint Vertical Span - ID: 1954050
Last Update: Comment added ( qualidafial )

Hello,

It's possible for the GridPrint to span a Print object vertically like in
ht HTML Table ?

Thank You


Laurent Muller ( laurentmuller ) - 2008-04-29 09:45

5

Closed

Duplicate

Nobody/Anonymous

None

None

Public


Comments ( 4 )

Date: 2008-09-10 03:45
Sender: qualidafialProject AdminAccepting Donations

Please see:
https://sourceforge.net/tracker2/?func=detail&aid=2102676&group_id=148509&atid=771875

This feature is planned for version 2.0


Date: 2008-04-30 13:17
Sender: qualidafialProject AdminAccepting Donations


This can be difficult. Essentially you have to remove the gap from the
outer grid's border:

cellBorder.setGapSize(0);

Then you have to compensate by wrapping every other cell that is not a
nested grid in a BorderPrint with a GapBorder.

Now the hard part is the nested grids. These need to have a custom
GridLook which draws the cell border in between cells but not around the
outside perimeter of the grid. You can extend BasicGridLook to achieve
this more easily.

Matthew


Date: 2008-04-30 06:21
Sender: laurentmuller


Thank You for your answer.

I build my grid like You say. The problem now is for the grid lines. See
the attached picture. How can I have no margin between nested grids ?
File Added: BorderGrid.PNG


Date: 2008-04-29 20:45
Sender: qualidafialProject AdminAccepting Donations


GridPrint does not yet support this. Currently the only way to do
something like this is to nest GridPrints:

+--------+------------+
| Cell 0 | +--------+ |
| | | Cell 1 | |
| | +--------+ |
| | | Cell 2 | |
| | +--------+ |
+--------+------------+


Attached File ( 1 )

Filename Description Download
BorderGrid.PNG Border Grid Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2008-09-10 03:41 qualidafial
resolution_id None 2008-09-10 03:41 qualidafial
close_date - 2008-09-10 03:41 qualidafial
File Added 276363: BorderGrid.PNG 2008-04-30 06:21 laurentmuller