首页 > 解决方案 > Handsontable 的下拉过滤器无法正常工作

问题描述

我正在尝试在下拉列表中过滤我的数据,但在输入确切值时它指向其他一些值并隐藏了确切值。不知道我是否错过了什么。

var container = document.getElementById('tblConfigurableDataTable');
 var hotConfigurableDataTable = new Handsontable(container, {
        data: parsedData,
        licenseKey: licenseKey,
        colHeaders: colHeaders,// ex. Name,Company...
        columns: columns,
        dataSchema: dataschema,// this is my list of data
        rowHeaders: true,
        headerTooltips: true,
        viewportColumnRenderingOffset: 100,
        width: $(window).width() - 120,
        height: height,
        contextMenu: ['row_above', 'row_below','remove_row', '---------', 'undo', 'redo', '---------', 'copy'],
        columnSorting: true,
        sortIndicator: true,
        filters: true,
        dropdownMenu: ['filter_by_condition', 'filter_action_bar'],      
        outsideClickDeselects: false,
        minSpareRows: 1,
        manualRowMove: true,
}

标签: javascriptjqueryhandsontable

解决方案


推荐阅读