This topic is locked

Preset report search button on listpage

8/20/2012 6:05:55 AM
PHPRunner General questions
J
Jeroef author

I need to have a button on listpage for each row that do a search on a certain field and redirect the user to that report page.

Is that doeble?
Regards

C
cgphp 8/20/2012

To insert a button for each row, check this article: http://xlinesoft.com/phprunner/docs/inserting_button.htm#grid
In the "Client before" event of the button, you can enter the javascript code to search the pattern and redirect the user. You can use the indexOf() method to search the string: http://www.w3schools.com/jsref/jsref_indexof.asp