Can i change column name while exporting to CSV ?

Can i change column name while exporting to CSV ?

Sanit KaleSanit Kale Posts: 23Questions: 9Answers: 0
edited December 2018 in Free community support

My Code is soothing like

    buttons: [
    {
extend:  'csvHtml5',
text: 'Salesforce CSV ',
exportOptions: 
{
columns: [2,9,10,11,12,15,14,13,16,23,17,18,19,20,21,22,24]
}
},
    {
extend:  'csvHtml5',
text: ' Outlook CSV',
exportOptions: 
{
columns: [2,9,10,11,12,15,14,13,16,23,17,18,19,20,21,22,24]
}
},
   ],

I wanted to change Column 17, 18 , 19 name while exporting.

For both CSV files column names should be different

Answers

This discussion has been closed.