This topic is locked

Insert button on each row at list page

11/9/2010 11:06:05 PM
PHPRunner General questions
A
amuro author

Hi~
On client side, after user clicked the button on specific row, the message windows would ask whether did the action or not.

If the answer was yes, the system will did something on server side. on the other hand, nothing was done.
The button clicked needs to send specific value, like sales number to server.

How could I write the script on button event?
Thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=15690&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

Sergey Kornilov admin 11/10/2010

Buttons inserted via 'Insert button' don't have access to individual records.
I would suggest to set 'View as' type of one of fields to 'Custom' and display a link or a button there. In custom code you have access to all data in this record.

More info: http://xlinesoft.com/phprunner/docs/_view_as__settings_custom.htm