Run and display SQL Function in table view

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
ekitsikpui5
Posts: 5
Joined: 2016-07-22 12:30

Run and display SQL Function in table view

Post by ekitsikpui5 » 2017-05-30 11:55

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.

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Run and display SQL Function in table view

Post by a.gneady » 2017-08-03 11:50

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:
:idea: 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.

Post Reply