$(".easyui-treegrid").treegrid({ url: ‘@Url.Action("GetDataDictionaryList", "DataDictionary")‘, onLoadSuccess: function (row, data) { $.each(data, function (i, val) { $(‘.easyui-treegrid‘).treegrid(‘collapseAll‘, data[i].id); }); } });
treegrid 折叠全部节点
时间: 2024-10-12 15:34:00