Hi,
I need to remove clone from inline edit but not from the toolbar.
If I use this,
$g->set_actions(array(
"clone" => false, ));
It will remove clone from toolbar too. Please Help.
1 Answers
For this you need to comment out few lines in core lib (lib/inc/jqgrid_dist.php)
### P ###
if ($this->actions["clone"] === true)
$act_links[] = "<a class="ui-custom-icon ui-icon ui-icon-copy" title="Clone this row" href="javascript:void(0);" onclick="fx_clone_row('$grid_id',''+cl+''); "></a>";
### P-END ###
Your Answer