I would like to know if it is possible to set a default value in the bulk edit operation for a specific field for example id or name from the user that's edit
You can set in silently in on_update event handler.
$e["on_update"] = array("update_data","",true);
$g = new jqgrid();
$data["params"]["user_id"] = $_SESSION["uid"];
This way, data from session will be updated in sql field user_id.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?