looking for some solutions? You are welcome.

SOLVED: ag-grid enterprise custom footer excel and CSV from context menu export

VNR:

ag-grid enterprise custom footer excel and CSV from context menu export

I have added defaultExportParams where it is working fine for excel but for CSV I am getting [object Object]

customFooter: [
  [],
  [
    {
      data: {
        type: 'String'
      }
    },
    {
      data: {
        type: 'String'
      }
    },

    {
      styleId: 'watermark',
      data: {
        type: 'String',
        value: 'My Own Footer Value'
      }
    }
  ]
]

};

If I try like this, CSV is working but failing for excel customFooter : '[[[ My Own Footer Value ]]]\n'. How can I achieve this for both CSV, EXCEL for context menu export

Thanks in advance



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
Share:

No comments:

Recent