Error in sc_change_css Macro

The sc_change_css macro works OK, BUT it throws up a

Uncaught ReferenceError: $ is not defined

error in the console. (Dozens of them as you use in in onRecord!)

When you look at the generated code, it looks like the sc_change css macro puts its code at the very top of the grid… even before jQuery is loaded… hence the error.

I’ve gotten round it by adding a manual link to a jquery source in the application init event, but this is not a good solution as the standard jQuery in prod(I think) should be called.

For other uses, I’ve avoided it altogether and gone straight to a css hack!