onFocus
fires when a view gets focus
function onFocus( // the view that is in focus now current_view: object, // the view that has previously been in focus prev_view: object): void
Example
Section titled “Example”datagrid.attachEvent("onFocus", function(current_view, prev_view){ // current_view is the datagrid in question});