How to modify cell data before export to excel or csv?

How to modify cell data before export to excel or csv?

facetostoolfacetostool Posts: 1Questions: 1Answers: 0

I use buttons extension with excel export.
I tried to use customize but it not triggered in my case:

        buttons: [
            {
                exportOptions: {
                    columns: ':not(.hidden-col)'
                },
                "extend": "excel",
                customize: function ( win ) {
                    console.log('HELLO!');
                }
            }
        ]

console.log('HELLO!') - never showed.
In my case I use some ajax buttons and forms in cells witch I want to remove before export.
Anyone know how I can do it?

Answers

  • TklaversmaTklaversma Posts: 12Questions: 1Answers: 0
    edited October 2015

    Did you got your answer already? I'm still looking for the answer to your question.

    I use <select> in a cell and it shows all possible values on output.So I want to edit this, before exporting.

    Furthermore, I also use an <input> in a cell. This outputs nothing :(.

    Help?

  • allanallan Posts: 63,759Questions: 1Answers: 10,510 Site admin

    There is currently no customize option for the Excel button type. My answer in this thread might be of some help.

    Allan

This discussion has been closed.