1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    228
    Vote Rating
    2
    ypandey is on a distinguished road

      1  

    Red face Updated Ext.ux.Exporter for Ext JS 4.x + 5.x

    Updated Ext.ux.Exporter for Ext JS 4.x + 5.x


    To export data from store-based component (grid, tree,..etc) to any format document (csv, excel, ...etc)

    Features:
    • Save Files on the client-side with the given file name using Blob (Supported by all latest browsers: IE 10+, Chrome, FF, Safari)
    • Otherwise open document in a new window or download remotely with server (For older browsers IE 8,9)
    • Special Case: to extract value from renderers returing HTML string
    • With fixes in Excel Formatter
    • fires "start" and "complete" events before and after file save
    Demo: https://fiddle.sencha.com/#fiddle/6st

    Github: https://github.com/yogeshpandey009/Ext.ux.Exporter/

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,556
    Vote Rating
    66
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    Nice! Thanks for sharing your labors with the community.
    Get on the Fast Track with Sencha Training http://sencha.com/training

    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    228
    Vote Rating
    2
    ypandey is on a distinguished road

      0  

    Arrow


    @Gary

    Note: If fiddle not working, please change the sequence of files in the following order.
    1. FileSaver.js
    2. Formatter.js
    3. csvFormatter/*.js
    4. excelFormatter/*.js
    5. Exporter.js
    6. ExporterButton.js

  4. #4
    Sencha User
    Join Date
    Aug 2014
    Posts
    27
    Vote Rating
    0
    Richardmansfield is on a distinguished road

      0  

    Default


    Hi! ypandey whether the Ext.ux.Exporter is available for the Ext Js 5.x version if so, please share it here as I am searching hardly the updated plugin for the ExtJs5 version please.

  5. #5
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    228
    Vote Rating
    2
    ypandey is on a distinguished road

      0  

    Thumbs up


    Hi Richardmansfield,


    I made couple of small changes and same fiddle works for Ext JS 5.x
    1. removed addEvents in ExporterButton class, as it has been deprecated
    2. used Ext.Util.Format.usMoney function instead of "usMoney" string in renderer
    Feel free to revert back here. I would be happy to help.