Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82130

How can I change the format of the excel which is being exported from the datatable?

$
0
0
I would like to change the format of the excel. Instead of exporting it like a datatable(refer to Fig 1), I would like to export like so.(refer to Fig 2)

Fig 1.
<Column1><Column2><Column3>
<Data1 ><Data1 ><Data1 >
<Data2 ><Data2 ><Data2 >
.
.
.

Fig 2.
<Column1.Data1>
<Column2.Data1>
<Column3.Data1>
-------------
<Column1.Data2>
<Column2.Data2>
<Column3.Data2>
.
.
.

Viewing all articles
Browse latest Browse all 82130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>