【发布时间】:2014-11-17 19:26:20
【问题描述】:
我目前正在使用“filterBy”通过 inputText 组件进行过滤,并且效果很好。我希望能够使用 selectBooleanCheckbox 组件过滤我的列之一。
看起来这可以在 primefaces 中完成:
Custom filters and converters in p:dataTable
但我不太确定如何在 icefaces 中做到这一点(如果可能的话)
【问题讨论】:
我目前正在使用“filterBy”通过 inputText 组件进行过滤,并且效果很好。我希望能够使用 selectBooleanCheckbox 组件过滤我的列之一。
看起来这可以在 primefaces 中完成:
Custom filters and converters in p:dataTable
但我不太确定如何在 icefaces 中做到这一点(如果可能的话)
【问题讨论】:
根据一位 ICEfaces 开发者本人的说法,这是不可能的。
http://www.icesoft.org/JForum/posts/list/0/22736.page
如链接中所述,您可以使用“filterOptions”属性来使用带有 selectItems 的 h:selectOneMenu 作为过滤器,这对我有用。
【讨论】: