Please try to extend a new method to achieve this functionality.
$.extend($.fn.datagrid.methods, {
selectRow2: function(jq, index){
return jq.each(function(){
var dc = $(this).data('datagrid').dc;
var top = dc.body2.scrollTop();
$(this).datagrid('selectRow', index);
dc.body2.scrollTop(top);
})
}
})
Call 'selectRow2' method to select a special row without scrolling.
$('#tg').treegrid('selectRow2', 3);