Have you tried to create an excel file with frozen headers with Office in your local computer and then upload this as a template to your Mendix app?
https://docs.mendix.com/refguide/using-the-excel-exporter/#upload-excel-file-templatehttps://docs.mendix.com/refguide/using-the-excel-exporter/#upload-excel-file-template