Unable to select multiple records when I use custom query

QuestionsUnable to select multiple records when I use custom query
Ram asked 6 years ago

I am unable to select multiple records to delete when I use select_command. I have used inner join in my query. Also when I set row_actions to true, I can see edit, delete options only for first record.

1 Answers
Abu Ghufran answered 6 years ago

The first column of the grid must have unique data, for row indentification. This is the issue with edit/del for first row.
If you use JOIN in query, you may need to delete from multiple tables, and normal method only deletes from the table you specify in $g->table. You might need to use custom on_delete event. Refer demos/editing/custom-events.php for help.

Let me know for further help.

Your Answer

5 + 17 =

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

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

Let us improve this post!