Not all records have the Edit/Delete action

QuestionsNot all records have the Edit/Delete action
Kelvin asked 6 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 6 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 4 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 4 years ago

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

Your Answer

12 + 10 =

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!