如何在函数中获取已编辑节点的id - updatedEvent()?
function updatedEvent(sender, args) {
var model = [];
for (var id in orgChart.nodes) {
var node = orgChart.nodes[id];
var data = $.extend(true, { Id: node.id, ParentId: node.pid }, node.data);
model.push(data);
}
var model = JSON.stringify({ 'model': model });
}