【问题标题】:How can I implement a custom column filter in icefaces using something like a checkbox?如何使用复选框之类的东西在 icefaces 中实现自定义列过滤器?
【发布时间】:2014-11-17 19:26:20
【问题描述】:

我目前正在使用“filterBy”通过 inputText 组件进行过滤,并且效果很好。我希望能够使用 selectBooleanCheckbox 组件过滤我的列之一。

看起来这可以在 primefaces 中完成:

Custom filters and converters in p:dataTable

但我不太确定如何在 icefaces 中做到这一点(如果可能的话)

【问题讨论】:

    标签: jsf icefaces


    【解决方案1】:

    根据一位 ICEfaces 开发者本人的说法,这是不可能的。

    http://www.icesoft.org/JForum/posts/list/0/22736.page

    如链接中所述,您可以使用“filterOptions”属性来使用带有 selectItems 的 h:selectOneMenu 作为过滤器,这对我有用。

    【讨论】:

      猜你喜欢
      • 2022-09-28
      • 1970-01-01
      • 2010-11-07
      • 1970-01-01
      • 2014-03-21
      • 2017-06-19
      • 1970-01-01
      • 2011-11-29
      • 2013-03-20
      相关资源
      最近更新 更多