Is there a good guide on making a new button on the grid
(a grid button, not row) . or even a button not on the grid (such as a html button everywhere on the page)
Which can access the data on the currect grid view
via php would be great, unless it has to be java
I am basically, having problems access the current grid data via php
You can add toolbar button, button in row, or button anywhere else in html beside grid.
1) demos/appearance/toolbar-button.php line 105
If you can tell exact scenario i can help on exact issue.
I am just trying to understand
I have got the following to work,
1. i can make a button,
2. can make it call and run a php function
how do i get the current on page grid data within php?
such as i would run down every record/row and get the value of a certain field from the current filtered view, called "field1" in the database
You can use on_data_display event handler and iterate through grid data.
refer demos/editting/custom-events.php > on_data_display event handler.
What you want to do after data iteration?
Hmm, how can i trigger on_data_display from a button click
i basically, want to add a button, and when the user clicks it, it goes to my php function (within the same webpage) and i do access the data in the grid from php and then do what i like with the info
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?