$(".easyui-treegrid").treegrid({ url: '@Url.Action("GetDataDictionaryList", "DataDictionary")', onLoadSuccess: function (row, data) { $.each(data, function (i, val) { $('.easyui-treegrid').treegrid('collapseAll', data[i].id); }); } });
$(".easyui-treegrid").treegrid({ url: '@Url.Action("GetDataDictionaryList", "DataDictionary")', onLoadSuccess: function (row, data) { $.each(data, function (i, val) { $('.easyui-treegrid').treegrid('collapseAll', data[i].id); }); } });