Do Nothing on Double Click

QuestionsDo Nothing on Double Click
varun asked 6 years ago

Hi,
i need to stop inline edit/add/edit on row double click, what i meant to ask is,i need to do nothing on row double click, For this i refereed some query from forum,and am not getting it,i somewhat remember u saying about change some settings in jqgrid_dist.php. Can i get that again?

1 Answers
Abu Ghufran answered 6 years ago

Hello,

You can set rowactions -> false in set_actions params to disable row level editing.

$g->set_actions(array(
"add"=>false, // allow/disallow add
"edit"=>true, // allow/disallow edit
"delete"=>true, // allow/disallow delete
"rowactions"=>false, // show/hide row wise edit/del/save option
"export"=>true, // show/hide export to excel option
"autofilter" => true, // show/hide autofilter for search
"search" => "advance" // show single/multi field search condition (e.g. simple or advance)
)
);

Your Answer

15 + 19 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!