on 08-21-2014 11:02 AM
Hi Experts,
I have a requirement where I have 2 -3 tabs in dashboard and the end user wants a single print button to print this .
I know we have one function Application.print() which we can use in button and print one single page but the user want to print all tabs.
Any suggestions?
Thanks
Rahul
Hello Rahul,
as the print is connected to browser printing, it does only print what is visible on the screen. This means in standard you cannot print content which is not visible.
Only what you could try is to prepare additional panel in the app, where the content is "duplicated" - which of course will work only if there is not too much content - and then trigger visibility of this panel and then in the same script trigger printing. This will again print what is visible, but at the print point your additional panel would be visible.
Regards, Karol
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Karol,
The option which you suggested looks fine and will check it.Thanks
@Fazith Ali Z . Thanks for your response , the user will look more to print in a single view the whole dashboard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
There might be a long work around for this.
When you click on a Button which triggers the Print function:
write a script like this
var a=Tabstrip.getselectedTabIndex();
Tabstrip.setselectedTabindex()=0;
Application.Print();
Tabstrip.setselectedTabindex()=1;
Application.Print();
Tabstrip.setselectedTabindex()=2;
Application.Print();
Tabstrip.setselectedTabindex()=a;
and it should open multiple Print screens, and then go back to your initial View
Regards,
Fazith Ali Z.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.