How do i ignore mRender column while exporing to excel

How do i ignore mRender column while exporing to excel

velkumar_invelkumar_in Posts: 2Questions: 1Answers: 0
edited July 2017 in Free community support

Hi Everyone,

I have binded my data table with json data from ASp.NET Webapi. i have rendered a two button for edit and delete as below, when i export to excel i want to ignore in my sheet. I'm using "excelHtml5" button

columns: [
{ data: 'firstName' },
{ data: 'lastName' },
{ data: 'gender' },
{ data: 'idNumber' },
{ data: 'idType' },
{
"mRender": function(data, type, row) {
return '

';
}
},
{
"mRender": function(data, type, row) {
var deleteMessage = 'Are you sure you want to delete the Proxy : ' + row.firstName + ' ?';
return '

Delete

';
}
}

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.