Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Downloadify.create('exportButton', {
- onComplete: function(){
- alert('Your spreadsheet has been saved.');
- },
- onCancel: function(){
- alert('You have cancelled the saving of this file.');
- },
- onError: function(){
- alert('You must put something in the File Contents or there will be nothing to save!');
- },
- filename: 'export.xls',
- data: Ext.ux.Exporter[config.exportFunction](this.component, null, config),
- swf: '/extjs/Downloadify/media/downloadify.swf',
- downloadImage: '/extjs/Downloadify/images/download.png',
- dataType: 'base64',
- width: 100,
- height: 30,
- transparent: true,
- append: true
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement