$('#tg').treegrid({ onLoadSuccess: function(parent,data){ var root = $(this).treegrid('getRoot'); $(this).treegrid('select',root.guid); }})