我正在显示带有数据源的树视图,但拖放后会有更改,我必须获取更改后的新数据源。我怎么做?
$.ajax({
type: "POST",
url: "TestMenu.aspx/GetMenuData",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
$("#treeview").kendoTreeView({
dragAndDrop: true,
dataSource: $.parseJSON(data.d)
});
}
});