Do Nothing on Double Click

QuestionsDo Nothing on Double Click
varun asked 10 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 10 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

12 + 19 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?