Restful Table Events


Why does not the..

myRestfulTableInstance.bind(AJS.RestfulTable.Events.INITIALIZED, function () {
   alert("finished setup");
}); When the table is rendered (which works fine) the event does not trigger. I really need this to work. How can I accomplish it?

3 answers

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 () {

Thanks, I'll manage to solve my problem without using this event, but thanks anyway!

This is described wrong in the AUI documentation. Have a look here You have to bind to AJS.$(document).bind(AJS.RestfulTable.Events.INITIALIZED, function () {...}

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

192 views 6 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot