onTabFocus

fires after a tab focus has been changed

void onTabFocus(object current_view,object prev_view);
current_viewobjectthe view object of a component that is in focus
prev_viewobjectthe view that used to be in focus

Example

$$("datatable1").attachEvent("onTabFocus", function(current_view, prev_view){
    // current_view is the datatable in question
});

See also
Back to top