diff options
Diffstat (limited to 'ecomp-sdk-app/src/main/webapp/app/policyApp/libs/README.md')
-rw-r--r-- | ecomp-sdk-app/src/main/webapp/app/policyApp/libs/README.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/README.md b/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/README.md new file mode 100644 index 000000000..3aa457dbe --- /dev/null +++ b/ecomp-sdk-app/src/main/webapp/app/policyApp/libs/README.md @@ -0,0 +1,48 @@ +tableExport.jquery.plugin +========================= + +<h3>Export HTML Table to</h3> +<ul> +<li> JSON +<li> XML +<li> PNG +<li> CSV +<li> TXT +<li> SQL +<li> MS-Word +<li> Ms-Excel +<li> Ms-Powerpoint +<li> PDF +</ul> + +Installation +============ +jquery Plugin<BR> +<script type="text/javascript" src="tableExport.js"><BR> +<script type="text/javascript" src="jquery.base64.js"><BR> +<BR> +PNG Export +========== +<script type="text/javascript" src="html2canvas.js"> + +PDF Export +========== +<script type="text/javascript" src="jspdf/libs/sprintf.js"><BR> +<script type="text/javascript" src="jspdf/jspdf.js"><BR> +<script type="text/javascript" src="jspdf/libs/base64.js"><BR> + +Usage +====== +onClick ="$('#tableID').tableExport({type:'pdf',escape:'false'});"<BR> + +Options +======= +separator: ','<BR> +ignoreColumn: [2,3],<BR> +tableName:'yourTableName'<BR> +type:'csv'<BR> +pdfFontSize:14<BR> +pdfLeftMargin:20<BR> +escape:'true'<BR> +htmlContent:'false'<BR> +consoleLog:'false' <BR> |