Results 1 to 2 of 2

Thread: Ext.grid.plugin.Exporter

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default Ext.grid.plugin.Exporter

    Exporting grid to excel Version premium plugin: 6.2.1


    How do I format numbers, I have the column formatted as follows.
    exportRenderer with reference to a custom function is not working, even if I set to true (because renderer is refering to custom function that format column data) is also not working.
    is there a documentation which explains all supported format syntax.

    Excel throws exception when format is set to Number, tried setting format to 'number("0.000")', still same excel throws exception
    This is how I am formatting the column for export.
    Code:
    {
      xtype: 'gridcolumn',
      text: "Price in  $",
      dataIndex: 'price',
      renderer: 'renderFixedColumn2Decimals',
      exportRenderer: 'renderFixedColumn2Decimals',
      exportStyle: [{
        format: 'Number',
        alignment: {
          horizontal: 'Right'
    },
        font: {
          italic: true
    }
      }],
      width: 85
    }

  2. #2
    Sencha Premium User
    Join Date
    Dec 2009
    Location
    Iasi, Romania
    Posts
    159

    Default

    Here you will find all supported values for "exportStyle.format": http://docs.sencha.com/extjs/6.5.0/m...tml#cfg-format
    If exportStyle.format, formatter and exportRenderer are all defined on the column then the exportStyle wins and will be used to format the data for this column: http://docs.sencha.com/extjs/6.5.0/c...exportRenderer

Similar Threads

  1. Grid Exporter plugin gone from toolbox?
    By grosst in forum Sencha Architect 4.x: Q&A
    Replies: 3
    Last Post: 10 Oct 2016, 9:54 AM
  2. Grid Exporter Plugin on 3.5 GA
    By darkorigins in forum Sencha Architect 3.x: Q&A
    Replies: 4
    Last Post: 18 Mar 2016, 6:59 AM
  3. [CLOSED] Ext.grid.plugin.Exporter missing in Ext 6.0.1
    By m.dostal in forum Ext JS 6.x Bugs
    Replies: 5
    Last Post: 16 Mar 2016, 2:06 PM
  4. Ext.plugin.grid.exporter
    By jamArk in forum Ext JS 6.x Q&A
    Replies: 1
    Last Post: 22 Jan 2016, 10:14 PM

Posting Permissions

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