You must confirm if the record displaying on the current page before calling selectRecord method. Try calling 'scrollTo' or 'gotoPage' methods to make your record loaded on the page, then call 'selectRecord' method to select your record.
var dg = $('#tt');
dg.datagrid('scrollTo', ...);
setTimeout(function(){
dg.datagrid('selectRecord', ...);
},0)