update master column by bulk update

Questionsupdate master column by bulk update
Shahid asked 8 years ago

I need to update quantity field in master grid by the number of rows selected from details grid. Bulk edit is working. It updates rows.

1 Answers
Abu Ghufran answered 8 years ago

You can use bulk edit – custom callback function that will update table used in master grid (using custom query code).
Please refer demos/editing/bulk-edit.php, these code segments.

Line 161
else if ($data["params"]["bulk"] == "update-amount")

Line 230
jQuery('#list1').jqGrid('navButtonAdd', '#list1_pager',

Your Answer

3 + 10 =

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?