cellEdit works for column that has edit false

QuestionscellEdit works for column that has edit false
Kasparpar asked 5 years ago

I have:
$grid["cellEdit"] = true;
$g->set_actions(array(
"add"=>true,
"edit"=>true,
"search" => "advance",
"export"=>true,
"inlineadd" => false,
"showhidecolumns" => true,
"bulkedit"=>false,
"view"=>true,
"clone"=>true )
);

And the column that I'm talking about:
$col["show"] = array("list"=>true, "add"=>false, "edit"=>false, "view"=>true);

Basically I want that this column is seen but not editable anywhere as it's the autoincrement ID but I can edit it inline.

I think this happened once I bought the licence and overwrited free version.

1 Answers
Abu Ghufran answered 5 years ago

This seems to be some issue with "show" property.
You can set editable=false to disable editing.

$col["editable"] = false;

Your Answer

9 + 13 =

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?