export a view as html

Hi I’m beginner in cuba platform and this might sound like a silly question.

I have a view which i want to print. so i’m going to export the view into a html page and print it using exportdisplay. what i’m stuck at is that i can’t export the view into html source.

thanks .


You have to create your HTML yourself. As an example, use the platform’s ExcelExporter class which generates XLS when you use ExcelAction in a table.

Consider also using the Reporting add-on for creating printable reports in various formats including HTML.