Celledit

QuestionsCelledit
Josh asked 6 years ago

I am trying to disable row editing but leave the edit/delete row links there. Setting $grid["cellEdit"] = false; in this case does not work. Cellediting is still allowed. Ultimately how can I make the edit link open up the edit box dialog popup like as if you click the edit icon in bottom left tray?

Thanks

3 Answers
Abu Ghufran answered 6 years ago

To disable to inline editing linking, set "rowactions"=>false

$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)
)
);

Also check faq, Q) How to show "Edit Record" dialog on row double click.

How-Tos & FAQs

Josh answered 6 years ago

Hello..

This does not work.. Unless I am doing something wrong with JS part. I have the set_actions method in place and this still does not work. Double clicking on a row enables inline editing and dialog box does not popup.

I've attached code here:

http://pastebin.com/AAn4KYTZ

Thanks

Abu Ghufran answered 6 years ago

The pastebin is not working, can you email the file at [email protected]
I'll reply back after reviewing.

Google talk chat could also be a quick option.

Your Answer

14 + 15 =

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:

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

Let us improve this post!