fires when a view gets focus
| current_view | object | the view that is in focus now | 
| prev_view | object | the view that has previously been in focus | 
$$("datatable1").attachEvent("onFocus", function(current_view, prev_view){
    // current_view is the datatable in question
});