Hello,
How to redirect the Click of any record in the Table View, to open a new HTML blank page instead of the default Detail View HTML Page?!
How to Open a New Blank Page when Clicking on a Record?
How to Open a New Blank Page when Clicking on a Record?
THANK YOU...
AppGini Pro 24.11 -
Calendar - Search Page Maker - Summary Reports - Mass Update - DataTalk -
bizzworxx AppGini Helper JabaScript Library - bizzworxx Inline Detail-View - bizzworxx Helper Pack - AppGini Helper Packaging Tool -
Udemy course
AppGini Pro 24.11 -
Calendar - Search Page Maker - Summary Reports - Mass Update - DataTalk -
bizzworxx AppGini Helper JabaScript Library - bizzworxx Inline Detail-View - bizzworxx Helper Pack - AppGini Helper Packaging Tool -
Udemy course
Re: How to Open a New Blank Page when Clicking on a Record?
Hi Mohamed,
you could do two things
a) remove all "base"-links in the tableview.
This would require either
1. changing the base file AG uses to generate the tables layout (probably in /templates/tablename_TemplateTV). Be aware, that this file will be regenerated, once you (re)generate your app.
You can put there some link that leads to the page you wish.
or
2. use JS to remove all links from the rendered page
- or (imho better) -
b) make use of the _init function in /hooks/tablename.php.
Check, if a record was selected (check POST and GET parameters! for $selectedID). If there was a parameter set, the user "clicked on a record", thus: redirect to your "own" page instead of continuing.
PS: You might also want to use the setting in AG to open the details page in another page (not below TV). This might make things a little easier.
Handle with care - the above was just an idea.
Olaf
you could do two things
a) remove all "base"-links in the tableview.
This would require either
1. changing the base file AG uses to generate the tables layout (probably in /templates/tablename_TemplateTV). Be aware, that this file will be regenerated, once you (re)generate your app.
You can put there some link that leads to the page you wish.
or
2. use JS to remove all links from the rendered page
- or (imho better) -
b) make use of the _init function in /hooks/tablename.php.
Check, if a record was selected (check POST and GET parameters! for $selectedID). If there was a parameter set, the user "clicked on a record", thus: redirect to your "own" page instead of continuing.
PS: You might also want to use the setting in AG to open the details page in another page (not below TV). This might make things a little easier.
Handle with care - the above was just an idea.
Olaf
Some postings I was involved, you might find useful:
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button; Place a search on details view
Re: How to Open a New Blank Page when Clicking on a Record?
Hi Olaf,
Sorry I did not get back to you earlier, as I have missed your feedback.
I just want to Thank You for your feedback.
Best Regards.
Sorry I did not get back to you earlier, as I have missed your feedback.
I just want to Thank You for your feedback.
Best Regards.
THANK YOU...
AppGini Pro 24.11 -
Calendar - Search Page Maker - Summary Reports - Mass Update - DataTalk -
bizzworxx AppGini Helper JabaScript Library - bizzworxx Inline Detail-View - bizzworxx Helper Pack - AppGini Helper Packaging Tool -
Udemy course
AppGini Pro 24.11 -
Calendar - Search Page Maker - Summary Reports - Mass Update - DataTalk -
bizzworxx AppGini Helper JabaScript Library - bizzworxx Inline Detail-View - bizzworxx Helper Pack - AppGini Helper Packaging Tool -
Udemy course