Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restful Table Events

Axcode December 18, 2013

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?

3 answers

1 vote
HaiPT
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2014

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");
});

0 votes
Holger Schimanski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 7, 2017

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

0 votes
Axcode January 28, 2014

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence administration, confluence admin training, confluence learning path, manage users and permissions, confluence certification, atlassian learning, cloud admin tools, streamline collaboration, confluence admin best practices

🚨New Confluence Admin Course Alert!

Manage Confluence like never before! This new learning path teaches you how to manage content, users, and permissions while optimizing user experience. Built for admins at all levels who want to confidently lead and unlock more innovative collaboration.

Learn more
AUG Leaders

Atlassian Community Events