APEX 18.2
The JavaScript Initialization Code attribute on an Interactive Grid component is limited to 4000 characters. The documentation mentions various options for custom JS. This thread has some good suggestions too. And then there is the Cadillac option, Vincent's APEX Nitro framework.
Questions
- What do you recommend, to start off with? Just create a single app.js file and put all the custom code in there, upload to Static Application Files and serve it up using #APP_IMAGES#app.js in the Javascript > File URLs page attribute?
- Is there a way to edit the file directly in the APEX Builder instead of downloading it, editing it and re-uploading it? Yes, I know APEX Nitro streamlines this workflow but it seems like overkill for editing 1 file
- The IG JS code example has
function( options ) {
options.toolbar = false;
return options;
}
How should this be changed to refer to a function from this app.js file?
function(options) {
return app.myFunction(options); // app.myFunction is defined in app.js
}
This is a good resource but I am still learning, appreciate the assistance.
Thanks