listener: function() { var w = this.exportData({ format: 'xlsx', workbook: true }); //clean all cells in first row. pq.excel.eachCell([w.sheets[0].rows[0]], function(cell) { cell.value = cell.value.replace(/<.*?>/g, "") }) var blob = pq.excel.exportWb({ workbook: w, type: 'blob' }); saveAs(blob, "pqGrid.xlsx"); }