使用datepicker的handontable过滤日期

时间:2016-02-05 03:55:12

标签: javascript jquery datepicker handsontable

过滤条件是否可以使用datepicker或任何日历进行搜索? IE介于或等于字段。

我的代码:

var hot = new Handsontable(container, {
    data: data,
    minRows: 60,
    minCols: 6,
    rowHeaders: true,
    colHeaders: true,
    contextMenu: ["undo", "redo"],
    filters: true,
    dropdownMenu: ['filter_by_condition', 'filter_action_bar'],
    autoWrapRow: true,
    colHeaders: [
        "Date",
        "Total"
    ],
    columns: [
        {
            data: "date",
            type: "date",
            width: 120,
            dateFormat: "MM/DD/YYYY",
            readOnly: true
        },
        {
            data: "total",
            type: "numeric",
            width: 120,
            format: "0,0"
        },

    ]
});

0 个答案:

没有答案