PrimeFaces 组织结构划分问题 [英] PrimeFaces organigram division issue
本文介绍了PrimeFaces 组织结构划分问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 PrimeFaces 6.2
之后
它将 iOS 部门显示为 Android 的一个细分部门.
执行
我检查了选项,但没有找到解决方案.
解决方案
我在早期版本中遇到了同样的问题,只是添加了
<块引用>skipLeafHandling="true"
到我的节点,所以每个节点都像叶子一样放置.
<p:organigramNode type="division" skipLeafHandling="true" styleClass="division"icon="ui-icon-suitcase" iconPos="left">....</p:organigramNode>
In PrimeFaces 6.2 organigram showcase, when I remove employees from Team Mobile division
Before
After
it shows iOS division as a subdivision of Android.
Exected
I checked the options and I found no solution for this.
解决方案
I got the same problem in a earlier version and just added
skipLeafHandling="true"
to my nodes, so every node is placed like there could be a leaf.
<p:organigramNode type="division" skipLeafHandling="true" styleClass="division"
icon="ui-icon-suitcase" iconPos="left">
....
</p:organigramNode>
这篇关于PrimeFaces 组织结构划分问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文