不是有api。。
$('#tg').treegrid('selectAll')
当数据载入完成时调用selectAll方法即可。
onLoadSuccess:function(){ $('#test').datagrid('selectAll'); }