我无法让 cumulative_filtering 工作

I can't make cumulative_filtering work

我正在使用 yadcf 0.8.8 和 DataTables 1.10.10 以及 Select2 3.5.3。我的数据源来自 AJAX 但我没有使用服务器端处理。我无法使 cumulative_filtering 工作。它看起来很简单,但显然有些地方不对。知道我可能做错了什么吗?

yadcf.init(oTable, 
    [
        {
            column_number: 0,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 1,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            sort_as: 'none',
            filter_match_mode: 'exact',
            filter_reset_button_text: false
        }, {
            column_number: 2,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 3,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 4,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 5,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 6,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 7,
            filter_default_label: "...",
            filter_reset_button_text: false
        }, {
            column_number: 8,
            filter_type: "range_number_slider",
            filter_delay: 400,
            filter_reset_button_text: false
        }, {
            column_number: 9,
            filter_type: "range_number_slider",
            filter_delay: 400,
            filter_reset_button_text: false
        }, {
            column_number: 10,
            filter_type: "range_number_slider",
            filter_delay: 400,
            filter_reset_button_text: false
            //SalesPrice
        }, {
            column_number: 11,
            filter_default_label: "...",
            filter_type: "multi_select",
            select_type: 'select2',
            filter_reset_button_text: false
        }, {
            column_number: 12,
            filter_default_label: "...",
            filter_type: "text",
            filter_delay: 400,
            case_insensitive: true,
            filter_reset_button_text: false
        }
    ],
    {
        cumulative_filtering: true
    }
);

您必须将 yadcf 库升级到 lastest version because that feature was added in yadcf 0.8.9.beta.13 ,see relevant comment