Hi,
I want to export data in xml also. I am using FileSaver.js. I was wondering if we can do that?
{
type: 'select',
label: 'Format: ',
attr: 'id="co_export_format"',
options: [{ xlsx: 'Excel', csv: 'Csv', htm: 'Html', json: 'Json',xml: 'Xml' }]
},
{
type: 'button',
label: "Export",
icon: 'ui-icon-arrowthickstop-1-s',
listener: function () {
var format = $("#co_export_format").val(),
blob = this.exportData({
format: format,
render: true,
nopqdata: true
});
if (typeof blob === "string") {
blob = new Blob([blob]);
}
saveAs(blob, "pqGrid." + format);
}
},