如何使用 GetOrgChart 对输入字段应用验证?我使用了以下代码..
json_data = $.rails.ajax 网址:“/organization_units.json”异步:假数据类型:“json”
$("#organization").getOrgChart
gridView: false
zoomable: true
printable: true
editable: true
color: "neutralgrey"
primaryColumns: ["Title", "Role","Members"]
dataSource: json_data.responseJSON.tree_data