Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FRG] Add a way to set exact position on page #244

Open
beauwest opened this issue Sep 24, 2021 · 2 comments
Open

[FRG] Add a way to set exact position on page #244

beauwest opened this issue Sep 24, 2021 · 2 comments

Comments

@beauwest
Copy link
Contributor

I want to create a two-column layout, where I have my table of data generated off the data array on the left side, and then I want to have static variables printed on the right side.

Currently, through the editor I can find no way to start the left column at a position for my group header/detail/footer sections, then start the right column at the same Y coordinate.

Reports appear to only be able to be completely linear.

I can manually manipulate the JSON, remove the absoluteY, and replace it with just y, and get the result I want, but I cannot do it through the UI.

@beauwest beauwest changed the title Add a way to set exact position on page [FRG] Add a way to set exact position on page Sep 24, 2021
@NathanaelA
Copy link
Owner

Can you send me a image or the json that generates what you want to see. I'm not fully understanding the request.

@beauwest
Copy link
Contributor Author

Sure, the attached file would be an example: receipt-rs-000001.pdf

In this case, the red and blue columns each contain a set of data. Ideally that would be done with sub-reports, but those are broken from FRG right now.

I need to print out the red dataset, and the blue dataset, each with the same starting Y coordinate so that it ends up in two columns.

I can achieve that by manipulating the JSON, or falling back to empty print functions with FR-style code and variables, (report.setCurrentY(vars.columnY)), etc. But I cannot find a way to achieve a two-column layout through the visual editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants