Can't update master grid with fx_bulk_update

QuestionsCan't update master grid with fx_bulk_update
Lars Erik Løvhaug asked 9 years ago

I'm using two grids (master detail).
The function to bulk update, fx_bulk_update, is overwritten in the generated code by the last grid on the page.
Therefore I can't bulk update the master grid. The fx_bulk_update() uses the url from the detail grid.

I'm using version 1.5.2 (paid).

7 Answers
Abu Ghufran answered 9 years ago

I've emailed you updated build, in which you can pass 4th param as grid id, after which bulk operation will be performed on the selection of mentioned grid. e.g.

fx_bulk_update("update-amount",str,-1,'list1');

luo answered 9 years ago

Hi,

I have the same problem, too.

I am using the same version, 1.5.2 (paid).

Would you email me the updated build, too. Thank you.

Abu Ghufran answered 9 years ago

Emailed you latest build.

Alberto answered 9 years ago

I have a similar problem in a four-grid(4 tab) php program, in wich the update_amount option included in the bulk-edit.php program doesnt work!.
Please send me this solution to test!
Thank you!

AL
1.5.2 (paid version)

Abu Ghufran answered 9 years ago

I've emailed you demo.
As mentioned in your other email, it looks like die; statement is missing due to which it is trying to execute grid based update query, resulting in 'bulk' invalid field error.

Code: http://phpgrid.org/demo/demos/editing/bulk-edit.phps

Alberto answered 9 years ago

Hello Abu!

Why not you send me this solution? fx_bulk_update("update-amount",str,-1,'list1'); ???.
The die; statement always has been there in my program, and the error is still there.
Regards!

Abu Ghufran answered 9 years ago

Emailed you latest build.

Your Answer

4 + 16 =

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?