on 2019 Mar 18 5:19 AM
Hi All,
We are working on custom SAPUI5 Application development. In my case, we need integrate print functionality. i want to print the Geo map area alone.
If i choose windo.print();,it prints the entire screen.
this is the code, what i ma trying.
var ctrlString = "width=600px,height=600px";
var wind = window.open("", "PrintWindow", ctrlString);
//writing header and
wind.document.write(oGeoMap); // this is the key part
wind.print(); //calling print
wind.close(); //closing print
window.print();
oGeoMap is , i am getting from view by using this.getView().byId();. It is not working.
Please help me to solve this .
Thank you,
Regards,
JK.
Hi Jayakrishnan Chandramohan, Will this help? https://plnkr.co/edit/Go9lSWssIuU6f0nrUieP
Here I am using property to print only list items.
Regards,
Karthik Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.