Skip to content

Carlos487/cordova-xls-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 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/Carlos487/cordova-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 / Cordova plugin to save XLS files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 89.3%
  • JavaScript 10.7%