网格中的Shield UI日期过滤

时间:2019-06-09 01:10:58

标签: shieldui

在Shield UI网格小部件中是否有任何智能的方法来过滤“日期”列?

我正在使用自定义日期过滤器

function dateFilter(cell) {
        $('<input />')
            .appendTo(cell)
            .shieldDatePicker().swidget().focus();
    }

但是我也想对Date输入使用内置的过滤功能,而不必编写大量替代方法

                    { "func": "eq", "name": "Equal to" },
                    { "func": "neq", "name": "Not equal to" },
                    { "func": "gt", "name": "Greater than" },
                    { "func": "lt", "name": "Less than" }

0 个答案:

没有答案
相关问题