Wicket Kendo DataTable过滤器问题

时间:2016-02-11 17:51:43

标签: kendo-ui kendo-grid wicket

有没有关于如何在Wicket-Kendo DataTable组件下使用IColumn实现过滤器属性的示例?

请注意..我使用Wicket作为框架,所以我想用我的框架来做这个...

我有以下内容:

 columns.add(new PropertyColumn("Type", "publicationType") {
        private static final long serialVersionUID = 1L;
        @Override
        public String getFilterable() {
                            return "{multi: true, dataSource: [{" +
                                "City: 'Seattle'," +
                              "},{" +
                               "City: 'Tacoma'," +
                              "},{" +
                                "City: 'Kirkland'," +
                              "},{" +
                                "City: 'Redmond'," +
                              "},{" +
                                "City: 'London'" +
                              "}]," +
                              "checkAll: false" +
                            "}}";
        }

我有一个数据源,我将用它来添加我需要的实际选项,但是这不会呈现用于过滤列的可检查列表。任何建议??

0 个答案:

没有答案