-
Notifications
You must be signed in to change notification settings - Fork 1
Anbarasan edited this page Nov 20, 2013
·
1 revision
For print functionality
in theme.html, add the below line inside the script tag
var isTheme = '$httprequest.getParameters().get("theme")'
in import.html, add at the end of file
<script src='/static/html/a.custom.js'></script>
In list report, in the first cell
{if isTheme != 'off'}
<input class='button' style="width:60px;" type='button' value='Print' onClick="printer('report')"/>
{/if}
In form / Queue, in the first cell
{if isTheme != 'off'}
<input class='button' style="width:60px;" type='button' value='Print' onClick="printer('form)"/>
{/if}
in queue / list report / form, in last cell
{if isTheme == 'off'}
{eval}wait_for_jst();{/eval}
{/if}
Note:
- print is not applicable for aggregate reports.
- you can get the theme.html & import.html & app.yaml from the gae runtime files OrangeScape Developer Community