How to replace my data with data-attribute.

How to replace my data with data-attribute.

nomad_chnomad_ch Posts: 2Questions: 1Answers: 0

Hi!
I need to replace all data from B row.
Data is taken from <td data-value="wanted string">string</td>
How to replace "string" to "wanted string" (from data-value) ?

 extend: 'excelHtml5',
                    text: 'Excel',
                    customize: function ( xlsx ) {
                        var sheet = xlsx.xl.worksheets['sheet1.xml'];
                        $('row c[r^="B"]', sheet).each( function () {
                              what need to write here?
                         });
                    }

thanks.

Answers

Sign In or Register to comment.