package com.sample.examples.support.export { import com.flexicious.export.exporters.HtmlExporter; import com.flexicious.grids.dependencies.IExtendedDataGrid; public class Utf8ExcelExporter extends HtmlExporter { public function Utf8ExcelExporter() { } public override function get contentType():String{ return "application/vnd.ms-excel" } public override function get extension():String{ return "xls"; } public override function get name():String{ return "Excel Export"; } public override function writeHeader(grid:IExtendedDataGrid):String{ return "\n\n\n\n\n\n\n\n"+ super.writeHeader(grid).replace("","
"); } public override function writeFooter(grid:IExtendedDataGrid):String{ return super.writeFooter(grid)+"\n\n"; } } }