Restful table row events are not firing

Hi,
Reading this, I created a restful table and now I’m interested in adding some logic for when a row gets into focus.

In their example, they use

AJS.$(document).bind(AJS.RestfulTable.Events.ROW_INITIALIZED, function (row) {
    row.bind(AJS.RestfulTable.Events.RENDER, function () {
        this.$el.addClass("myclass");
    });
});

but it doesn’t do anything. I even tried this and it didn’t do anything.
Please help