Custom Actions

QuestionsCustom Actions
Matt asked 12 years ago

Could you provide a simple, full example of how to call another php script based on the grid record update please? So if I have a column named status and I change the value(select dropdown) to closed it would call another php script I use for sending email. User changes status to closed, SendEmail.php is called.
Thanks in advance!

7 Answers
Abu Ghufran answered 12 years ago

Hello,

Example code is emailed to you.

Regards

Fox82i answered 12 years ago

I have the similar problem: I want to change the state of selected data by clicking, in the coloumn action, a command named: "processed".
This action update the value in the table and then put a record in other table.
Finaly my request is: can you give me an example to build a custum action to retrive custom php script to do what I described?
Thanks a lot!

Abu Ghufran answered 12 years ago

Alessandro, this feature (bulk operation of selected data) is under development and will be there for premium members as some core lib changes are involved. Stay tuned.

Gary Brett answered 10 years ago

Could I also grab that code if you still have it?

Abu Ghufran answered 10 years ago

Here is the emailed code:
http://hastebin.com/aqasikafar.php

Ed K answered 9 years ago

This link doesn't appear to work anymore. Is there a new link for it?

Abu Ghufran answered 9 years ago

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

Your Answer

0 + 8 =

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?