Skip to content

jonathanbsilva/Phonegap-XLS-Plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phonegap-XLS-Plugin

A Phonegap plugin to save XLS files

How to use

var data = [
    {id:"1", name:"claudio"} ,
    {id:"2", name:"marta"} ,
    {id:"3", name:"isabela"} 
];
dirname = "ExcelAPI";
filename = "file-example.xls";
sheetname = "Plan1";

window.xls.save( data, dirname, filename, sheetname, 
    function(){ alert('success'); }, 
    function(err){ alert(err); }
    );
}

Instalation

From github

cordova plugin add https://github.com/klawdyo/Phonegap-XLS-Plugin.git

From file

Copy full directory to project root

cordova plugin add <Path-to-Plugin's-directory>

Dependences

Phonegap's users permissions to File plugin

Install File plugin

cordova plugin add org.apache.cordova.file

Thanks To

About

A Phonegap plugin to save XLS files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published