I have a problem in showing two grids which refer to two tables in database.
even grid is visible, no data can be seen.
Other than that how to disable edit and delete options under Action column while keeping add feature in the grid.
please help to resolve.
1 Answers
Multiple grids on same page is supported in full version.
You can disable edit/del by this code.
assuming, $g = new jqgrid();
$g->set_actions(array(
"add"=>true, // allow/disallow add
"edit"=>false, // allow/disallow edit
"delete"=>false, // allow/disallow delete
"rowactions"=>false, // show/hide row wise edit/del/save option
"autofilter" => true, // show/hide autofilter for search
)
);
Your Answer