Thank you so much for all the amazing support. Fantastic tool.
Premium Version: phpgrid-full-v1.5.2.zip
Goal: Export file type to be PDF. Currently it is XLS
Current Code:
$g->set_actions(array(
"add"=>false,
"edit"=>true,
"clone"=>false,
"bulkedit"=>false,
"delete"=>false,
"view"=>false,
"rowactions"=>true,
"export"=>true,
"autofilter" => true,
"search" => "simple",
"inlineadd" => true,
"showhidecolumns" => false
)
);
and
$e["on_render_pdf"] = array("set_pdf_format", null);
When I add:
$dg->enable_export('PDF');
Result:
Server Error. Page will not load at all.