Anytime a button is clicked to see the table view details, I want a particular script to run and show the results in the table. Please how can I do this?
Thank you.
Run and display SQL Function in table view
Re: Run and display SQL Function in table view
If I understand your question correctly, you want to run some JavaScript code in the detail view when a record is displayed. This can be done by editing the hooks/tablename-dv.js file (where tablename is the name of the concerned table) -- you should create that file inside hooks if it's not already there.
For more info:
For more info:
- Hooks documentation: https://bigprof.com/appgini/help/advanced-topics/hooks/
- AppGini customization course on Udemy (not free but has some lessons that are free to preview): https://www.udemy.com/customizing-appgi ... ode=TENOFF
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.