I have a small issue where users are unable to quickly copy highlighted record text from the view dialog by using standard Ctrl+C shortcut key on Windows and was hoping there’s an easy fix.
- Select any record
- Click the view toolbar icon
- Drag and highlight some or all of the record field text
- Press Ctrl+C to copy to clipboard.
- Nothing get’s copied.
Please note, right clicking the mouse and selecting copy works correctly, just not the Ctrl+C shortcut key method.
Our users are running Google Chrome v77, though the same issue appears with Firefox.
I tested this and it was due to modal dialog library. Try following in set_options() function:
$opt[“view_options”][“jqModal”] = false;
To fix it in all grids, you can edit lib/inc/jqgrid_dist.php:
$grid[“view_options”] = array(“jqModal” => false, “modal” => true, “closeOnEscape”=>true, “recreateForm”=>true, “width” => 400,
“rowButton” => true
We’ve updated it in dev line so you don’t need to worry about sync’ing updates.
Abu Ghufran - Dev Team
Grid 4 PHP Framework
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?