Page 23 of 32 FirstFirst ... 132122232425 ... LastLast
Results 221 to 230 of 319

Thread: Export store to Excel

  1. #221
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Please help

    @scaddenp : your stormtek/Ext.us.Exporter in github is not working in chrome or IE. The download as CSV / Excel buttons are not producing any file-download on click. Kindly suggest me what changes I need to make.

  2. #222
    Sencha User
    Join Date
    Apr 2007
    Posts
    14
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by SMMJ_Dev View Post
    I looked at the button code, and it is still messed up.
    For now if you need this you can do what I'm currently doing.

    Replace your button code with a standard Ext.button.Button
    Code:
    Ext.create('Ext.button.Button',{
        text:'Download as .xls',
        handler:function(button){
            var gridPanel=button.up('gridpanel');
            var dataURL='data:application/vnd.ms-excel;base64,'+Ext.ux.exporter.Exporter.exportGrid(gridPanel);
            window.location.href=dataURL;
        }
    })


    i did this like

    Code:
    	var exButton = Ext.create('Ext.button.Button',{
    			 
    			    text:'Download as .xls',
    			    handler:function(button){
    			        var gridPanel=button.up('gridpanel');
    			        var dataURL='data:application/vnd.ms-excel;base64,'+ Ext.ux.exporter.Exporter.exportGrid(gridPanel);
    			      //  var dataURL='data:application/vnd.ms-excel;base64,'+ exportGrid(gridPanel);
    			        window.location.href=dataURL;
    			    }
    			})
    but got the error message : Ext.ux.exporter is undefined

    any one can tell me how to fix it? @wiznia

  3. #223
    Sencha User
    Join Date
    Jan 2011
    Posts
    1
    Vote Rating
    0
      0  

    Default

    There are still issues when use it on ExtJS 4.1.1a, I made some fix on CSV formater, and make it work. Here is the modified code on GitHub:
    https://github.com/MasonZhang/Ext.ux.Exporter

    Please note: there are some issues when excel parse the exported xml format file, I just make csv format work.

  4. #224
    Sencha User
    Join Date
    Jun 2012
    Posts
    16
    Vote Rating
    0
      0  

    Default Style problem when opening in Excel

    Hi ,
    I used your code to export into a xls file while opening in excel it shows some style error problem . How can i view that file without styles attached to it . please say how to remove style from that xls file ..

  5. #225

    Default 18 pages later...

    I've spent the last 2 days going through and trying all the posted solutions here and I found the following result:

    All solutions posted here are either:
    1) Not compatible with ExtJS4.1
    2) Depend on a Flash SWF or the JQuery library
    3) Have some issues in either firefox or webkit
    4) Suggesting we use a server-side solution

    Is there anyone who has gotten this working entirely with the ExtJS 4.x library, and no 3rd party dependencies or cross-browser issues? Thank you in advance.

  6. #226
    Sencha User
    Join Date
    Jun 2012
    Posts
    16
    Vote Rating
    0
      0  

    Default Thanks for reply

    Yes its true i used 4.1 extjs lib so only it was not working . It works 4.0 and less

  7. #227
    Sencha User
    Join Date
    Aug 2012
    Posts
    5
    Vote Rating
    0
      0  

    Default Export store to Excel

    Hi,
    I have the same problem. Any plans to provide fix for 4.1

    Thanks in Advance.

  8. #228
    Sencha User
    Join Date
    Jul 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Export store to Excel after reconfiguring the grid

    May I know how to export the store after i reconfigure the grid? When I try to export the store, it only shows the first column of the grid not after reconfigure. Thanks.

  9. #229
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default

    is this can work in extjs 4.1.1? thanks

  10. #230
    Ext JS Premium Member
    Join Date
    Apr 2010
    Posts
    102
    Vote Rating
    0
      0  

    Default

    Sorry, 4.1.1a broke other things so this one isnt at top of the worry list at the moment. Wont be looking at this till have renderers in tree + Geoext sorted out.

Page 23 of 32 FirstFirst ... 132122232425 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •