javascript - 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,
}
解决方案
推荐阅读
- jquery - 选择选择 - 注入动态选项作为第一个选择选项
- laravel - 验证请求中的数据失败
- javascript - 在 Shopify 网页中创建简单的尺寸转换脚本
- c++ - c++- 数字 100 的阶乘
- flutter - 如何从 inAppWeview Flutter 中的 webVew 按钮操作接收值
- java - 如何在java8中解析像“5th Apr 1920”这样的日期字符串
- halide - 为什么 extern 函数被多次调用?
- sql - 无法在 Sql 中加载 csv 文件
- javascript - discord.js未处理的承诺拒绝警告:TypeError:无法读取属性'includes' of null
- amazon-web-services - 关于添加内联策略与附加托管策略的性能