How to override export to word feature in custom reports

Hi,

We are using a custom report to display data in tabular form , We need that all data to be export as a word file as well. 

I am using normal php method to export the data but it's showing the css, js files missing errors and not displaying proper html format after exported the word file. 

Please help me to find out any way to achieve the export to word functionality in custom module without using any third party library. 

Parents Reply Children