export excel, add a new column

export excel, add a new column

chirochiro Posts: 16Questions: 8Answers: 0

hello ^----^.

this is excelHtml5.

Run the code below and it will look like the picture.

extend: "excelHtml5",
customize: function ( xlsx ) {
var sheet = xlsx.xl.worksheets['sheet1.xml'];
$('c[r*="A"] t', sheet).text('user table');
}

but I want to add a new column on export as shown below.

Is it possible?? Please help ㅠ_ㅠ

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    This thread should help, it's more or less asking the same thing.

    Cheers,

    Colin

  • chirochiro Posts: 16Questions: 8Answers: 0
    edited February 2020

    I succeeded it. Thanks!

  • hassanZarradhassanZarrad Posts: 1Questions: 0Answers: 0

    Hi chiro please could provide the example about your work with file excel .

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    @hassanZarrad - it would be worth looking at the thread I posted above, it discusses this problem there.

    Colin

This discussion has been closed.