Try changing "rowactions"=>false, // show/hide row wise edit/del/save option
$g->set_actions(array(
"add"=>true, // allow/disallow add
"edit"=>true, // allow/disallow edit
"delete"=>true, // allow/disallow delete
"rowactions"=>false, // show/hide row wise edit/del/save option
"search" => "advance", // show single/multi field search condition (e.g. simple or advance)
"showhidecolumns" => false
)
);
I already tried that…it partly solved the problem. However, a row can still be inline-edited by double-clicking anywhere on the row. Is there a way to disable the double-click?
You need to override a line in jqgrid_dist.php for that.
old:
// double click editing option
if ($this->actions["edit"] !== false && $this->options["cellEdit"] !== true)
new:
// double click editing option
if ($this->actions["rowactions"] !== false && $this->actions["edit"] !== false && $this->options["cellEdit"] !== true)
This would enable double click only when rowactions are enabled.