<jqx-grid source-id-for="@(towEvent.EventId)"
theme="bootstrap"
edit="@Url.Action("Edit", "TowEvent")"
source="Model.Tow.DataEntryEvent"
ready="alert('in ready');">
<jqx-grid-columns>
...
</jqx-grid-columns>
</jqx-grid>
generates ..., ready: function() {alert('in ready'();},...
in the new jqxGrid
options (spurious left parenthesis).
Changing the ready
attribute to ready="alert('in ready'); null;">
generates working code. [Leaving out the trailing semicolon: ready="alert('in ready')
was even worse, as it dropped the trailing single quote, too]