var value = obj.getCurrentRow(); obj.setCurrentRow(value); obj.onCurrentRowChanging = function(value){...}; obj.onCurrentRowChanged = function(value){...}; obj.onCurrentRowError = function(value){...};