Not all records have the Edit/Delete action

QuestionsNot all records have the Edit/Delete action
Kelvin asked 11 years ago

Dear Sir/Madam,

I set below action setting as below and only one table is linked to the table, don't know why there are some records have not edit/delete from action column?

How do I do the troubleshooting?

$g->set_actions(array(
"add"=>true,
"edit"=>true,
"delete"=>true,
"view"=>true,
"rowactions"=>true,
"export"=>true,
"autofilter" => true,
"search" => "simple",
"inlineadd" => true,
"showhidecolumns" => false
)
);

Best regards,

Kelvin.

3 Answers
Abu Ghufran answered 11 years ago

The first column of grid must contain unique data, usually pk or concat fks. It is required to uniquely identify row for editing operations.

Tarun Das answered 9 years ago

I faced the same problem. This post solved the problem. Is it somehow possible to hide that column with unique data? Thanks.

Tarun Das answered 9 years ago

All right. I got it after reading the FAQ
it's $col["hidden"] = true;
Thank you anyway.

Your Answer

9 + 12 =

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?