Hi,
Why does not the..
myRestfulTableInstance.bind(AJS.RestfulTable.Events.INITIALIZED, function () { alert("finished setup"); });
..work? When the table is rendered (which works fine) the event does not trigger. I really need this to work. How can I accomplish it?
Maybe you haven't use right element myRestfulTableInstance (this happend to me)
In my solution:
var $table = $("#restful-table"); new AJS.RestfulTable({ el: $table, ... }); $table.bind(AJS.RestfulTable.Events.INITIALIZED, function () { alert("ok"); });
This is described wrong in the AUI documentation. Have a look here https://ecosystem.atlassian.net/browse/AUI-3555. You have to bind to AJS.$(document).bind(AJS.RestfulTable.Events.INITIALIZED, function () {...}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.