Delete issue in SubGrid

QuestionsDelete issue in SubGrid
Harpreet Singh Sahota asked 5 years ago


I made everything work good but in sub grid when I try to delete some record it displays error to get better understanding please refer to image in provided URL:


2 Answers
Abu Ghufran answered 5 years ago

The first column of grid must have unique alphanumeric content (usually a PK).
This is required for proper display as well as update & delete operations of particular row.

In your subgrid, it is image <img> that's why unable to delete.
You can hide the first column by $col["hidden"] = true; but it must be defined.

Harpreet Singh Sahota answered 5 years ago

Thanks Abu, Its perfectly functional now.

Your Answer

4 + 5 =

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?