fires after a tab focus has been changed
current_view | object | the view object of a component that is in focus |
prev_view | object | the view that used to be in focus |
$$("datatable1").attachEvent("onTabFocus", function(current_view, prev_view){
// current_view is the datatable in question
});