update master column by bulk update

Questionsupdate master column by bulk update
Shahid asked 2 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 2 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

19 + 20 =

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!