Suppose the datagrid data contains "<a href='#' class='aa'>A Link</a>" that will be created as linkbutton. When the data is loaded successfully, find the '<a>' and call 'linkbutton' to create it.
$('#dg').datagrid({
onLoadSuccess:function(){
$(this).datagrid('getPanel').find('a.aa').linkbutton();
}
});