Show something different in html than in excel export
Show something different in html than in excel export
KSPR
Posts: 1Questions: 1Answers: 0
I want to display something else on a table in the webpage than in the exported excel filed.
Let me clarify:
The table should display this on the webspage:
<td><a href="mailto:xyz@domain.ch">E-Mail</a></td>
But in the excel I want to display the pure E-Mail adress:
<td>xyz@domain.com</td>
The reason why I don't want to write the email in the table directly is because the table is pretty big. And only showing "E-Mail" in a column makes for a cleaner look.
This discussion has been closed.
Answers
You can use the customizeData callback in your button definition to rewrite the column before it gets exported.