Author Topic: Export to excel with different column labels  (Read 1950 times)

cijojohn

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 73
    • View Profile
Export to excel with different column labels
« on: March 04, 2017, 01:16:21 am »
Hi team,

I have mandatory columns with labels appended with '*'(Asterisk). When i export grid data to excel, I do not want asterisk(*) in the exported excel column labels. Is it possible to change the column labels before exporting data to excel ?.
If it is possible could you please share us some demo links for the same.

Regards,

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Export to excel with different column labels
« Reply #1 on: March 04, 2017, 02:20:32 pm »
column title can be implemented as a callback.

custom title without asterisk(*) can be returned when ui.Export is true.

https://paramquery.com/pro/api#option-column-title