Feature Request: Make UI5 controls more print-friendly
@simlin is already working on this.
Since Sep 5, 2019.
Assessment
This issue has not been assessed yet.
Description
SAPUI5/OpenUI5 version: 1.70
Browser/version (+device/version): Chrome, Firefox
Let say, I have a long table with items, e.g.: https://openui5nightly.hana.ondemand.com/test-resources/sap/m/demokit/tutorial/worklist/07/webapp/test/mockServer.html, and I would like to get/print a PDF-report with items of this table.
Like most of the enterprise reports, such PDF should contain:
- header with the corporate logo, report title, brief description, and contact info
- a table itself with data, supporting paginations
- footer with some legal notice
Currently, I can either print the whole page «as is» with a lot of irrelevant data (e.g., UI controllers) or try to customize the report by using standard HTML/browser approaches like document.body.innerHTML and window.print(), but these techniques don't solve the pagination issue and aren't so fast/easy-to-implement.
It would be great if UI5 data-containers (e.g. sap.m.List and sap.m.Table) will be more print-friendly by having special built-in print-friendly CSS-mode. Is it possible to implement some print-wrapper for data containers to bring printing functionality out-of-box?
- Dominant language
- JavaScript
- Stars
- 3.3k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UI5/openui5
-
bug documentation in progress
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
bug in progress
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug in progress
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
sap.m.Breadcrumbs current location renders as focusable <span> without a role, failing WCAG 4.1.2 Openbug in progress
-
author action enhancement
Similar issues
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
status: needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100