Custom Grid Button Call on_delete custom server side function

QuestionsCustom Grid Button Call on_delete custom server side function
James asked 9 months ago

Hello,

I want to add a custom button at row level in the grid but I want the button to use POST vs GET when the button is pressed. I then want to do some custom processing using server side code. I want ability to use custom button and not row-actions built in buttons.

How do I define my button HTML and what onclick function must I call for the build int on_delete() server side function to fire?

 

1 Answers
Abu Ghufran Staff answered 7 months ago

Hi,

In case if it’s helpful for someone, here is the sample code.

https://gist.github.com/gridphp/a6faf203f9429f27c00a63dfa0b1a030

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

13 + 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?