DHTMLxTreeGrid-OnExportToExcel, suppress FILTER fields how?

I looked at the API and was unable to suppress the FILTER fields from being exported when using the export to excel/CSV command

myGrid.serializeToCSV()

I can set the headers to show/not show, but not the FILTERED fields when using the export VIEW feature. The export all rows is ok, just the export VIEW

plz adivse
-r

Unfortunately it’s not available to exclude the particular header from the generating csv string.
The only available solution is to exclude the header before serializing and then attach it back again

The header can be detached using the detachHeader() method:
docs.dhtmlx.com/api__link__dhtml … eader.html