fires after a tab focus has been changed
$$("datatable1").attachEvent("onTabFocus", function(current_view, prev_view){ // current_view is the datatable in question });