1. #21
    Sencha User
    Join Date
    Oct 2007
    Location
    Berlin, Germany
    Posts
    890
    Vote Rating
    9
    wm003 will become famous soon enough

      0  

    Default


    Your changes do not seem to be a bugfix. var k is indeed needed to just copy visible columns without having empty columns in the excel export., thus J holds all possible columns, but k only those transferred to excel. With your change your excel-export still only has the visible columns, but leaves empty columns which is possibly not wanted (just because the hidden columns are not even seen in the extjs grid, so why copy them to excel?)

  2. #22
    Sencha User
    Join Date
    Dec 2008
    Location
    France
    Posts
    244
    Vote Rating
    0
    senacle is on a distinguished road

      0  

    Default


    I test again.

    As you can see, when i keep the k variable, the string formated columns in extjs are converted to number column in the xml file :

    Code:
    <ss:Data ss:Type="Number">My beautiful string</ss:Data>
    Without the k variable, it's well formatted :

    Code:
    <ss:Data ss:Type="String">My beautiful string</ss:Data>

Similar Threads

  1. GridPanel directly to Excel.
    By Animal in forum Ext 2.x: User Extensions and Plugins
    Replies: 292
    Last Post: 9 Jan 2014, 4:47 AM
  2. How to export GridPanel data into excel file?
    By orangejs in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 14 Jun 2010, 6:00 PM
  3. Export Gridpanel data to Excel format
    By footballermahesh in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 29 Jan 2009, 4:53 AM
  4. How to Export GridPanel to excel file in viewport ?
    By donggul in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 1 Apr 2008, 11:53 PM

Thread Participants: 10