This topic is locked

List Click Action Event

4/11/2018 9:58:28 AM
PHPRunner General questions
U
ustunsoz author

As shown on phprunner demo sample, at http://demo.asprunner.net/volinrok_yahoo_com/Version97Demo/orders_list.php
I want to create a click action, on field to open a clicked field's record (as demonstrated on Customer ID column)
Is it possible to go to current record view by open page action, if so what is the url parameter to call the current record.
Otherwise if it is possible to open by AJAX snippet what is the sample code to call the current record.
Thanks

admin 4/12/2018

No code to write.
Create a click event, select a field on the left, 'Open page' option, 'View page'.

U
ustunsoz author 4/21/2018

I have miss-explained the action I desire:
I want to open the related field's view popup from the action field;

for example: the field in the record contains "city" field, I want to open city table's related record to view in the popup.
It is opening current record view popup

admin 4/23/2018

I see. If you need to open a related record page in popup check this article:

https://xlinesoft.com/phprunner/docs/how_to_display_any_page_in_boo.htm

U
ustunsoz author 4/23/2018

Thanks for your kind effort and answer, but the example is irrelevant to my question. It is not describing "List Click Action" commands.
I will appreciate if you can lead me to the Ajax snippet example related to "open related record" in other table.
For example; I have tried to understand the example in "Vacation" template, properties list have the "Book Now" link on each row, but I couldnt find how did you add the code to open related page!

admin 4/23/2018

You need to use that code from the article in AJAX code snippet, most likely in "After" event.