您可以在 OrgChart 中显示的主要列的数量是否有上限?我似乎不能添加超过4。如果您查看下面的示例,则不会呈现电子邮件地址。这是正确的行为吗?有没有办法覆盖这个设置?
$("#people").getOrgChart({
primaryColumns: ["name", "title","department", "phone", "email"],
dataSource:[{"id":1,"parentId":null,"name":"John Doe","positionId":"771","title":"Vice-President","location":"Location","department":"IT-Dallas","phone":"(333)-444-6363","email":"john.doe@domain.com","image":""}]
});
这是一个 jsfiddle http://jsfiddle.net/w9Ax8/17/