Hello manolo8217,
There is no callback function that you could use to modify the data before the export.
What you can do is use the cellsRenderer functionality to add your data formatting without modifying the source. (instead of adding it with the php).
In case you can not modify the xml, but still need the formatting to appear on the page, you can try to strip the formatting in the beforeLoadComplete callback of the dataAdapter, and possibly save it with some logic and reapply it with cellsRenderer. (The idea is to have clean source).
Finally as a last resort, a really complicated solution could be to export the grid into a variable, modify that variable and either write a custom export function or maybe try to create a hidden DataTable with the modified variable, and export that. However this last one sounds to me quite a bit complicated for what you are trying to achieve.
Best Regards,
Vladimir
jQWidgets Team
http://www.jqwidgets.com