enable_export()

  • Parameter(s):
    • $type: Export type can be EXCEL, PDF, CSV, or HTML. The default is EXCEL
  • Description:
    • When export is enabled, the export icon appears in the grid footer.¬†The datagrid can be exported in EXCEL, PDF, CSV or HTML format. The Excel is exported in native Excel XML format. ¬†More formats will be supported in the future.
  • Example:
1
$dg -> enable_export('PDF');

No related content found.