2 Answers
Pasting from FAQ,
##### Q) How to remove buttons and text from toolbar?
Do following config to show/remove items in toolbar
$opt["rowList"] = array();
$opt["pgbuttons"] = false;
$opt["pgtext"] = null;
$opt["viewrecords"] = false;
$g->set_options($opt);
$g->set_actions(array(
"add"=>false, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>false, // allow/disallow delete
"view"=>false, // allow/disallow view
"refresh" => false, // show/hide refresh button
"search" => false, // show single/multi field search condition (e.g. simple or advance)
)
);
Your Answer