Page 1 of 1

Run and display SQL Function in table view

Posted: 2017-05-30 11:55
by ekitsikpui5
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.

Re: Run and display SQL Function in table view

Posted: 2017-08-03 11:50
by a.gneady
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: