How to Customize All PDF exports Without Duplicating the customize property
How to Customize All PDF exports Without Duplicating the customize property
![TumeloM](https://secure.gravatar.com/avatar/85552fa1cb5177224bba49df7a89eff6/?default=https%3A%2F%2Fvanillicon.com%2F85552fa1cb5177224bba49df7a89eff6_200.png&rating=g&size=120)
in Extensions
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
I want all pdf exports to used the custom header without having to duplicate the code in all datatable initialization. Here is the test case live.datatables.net/qabenajo/3/edit
i tried to default the pdf customization but when i add other properties like title, it removes the default
This question has an accepted answers - jump to answer
Answers
Make it a named function - e.g.:
then
Allan
Wow thank you, solution works perfectly!