I would like completely to remove/hide all buttonsand search field from the grid. Is this ever possible? The code below remove buttons, but cannot remove “search” and “filter” functions (icons).
$g->set_actions(array(
“add”=>false,
“edit”=>false,
“delete”=>false,
“view”=>false,
“rowactions”=>false,
“export”=>false,
“autofilter”=>false,
“refresh” => false,
“search”=>false,
“filter”=>false,
)
);
2 Answers
OK, found it myself, can be usefull for somebory, because documentation is not that clear. Setup is not in parameters, but in CSS.
.ui-jqgrid-pager,.ui-jqgrid-toppager { display: none; }
Your Answer