Hi
I’ve got a wierd one… I have a javascript function that I echo into existance in the onScriptInit event.
It works fine in the normal grid and does the job.
However, when I try to use it in the Groupby events
I get a console error (Uncaught ReferenceError: $ is not defined) caused by the fact that scriptcase loads the text at the very top of the HTML page… even before the Doctype and other header text.
Because the Groupby actually works more than once, the function still works (second call onwards I think), but I’m bemused how to prevent this from happening in the first place.
Any Ideas/builds?
EDIT1: This is not constrained to the javascript echo above. If I simply put an echo(“Hello”); in the ongroupby if appears at the top of the source.