目前我在kendo-Grid工作。我在肯德尔有些新。在网格中,我具有过滤器功能。在此,我可以过滤IE中的记录,但是该过滤器在Google Chrome中不起作用。我无法在Google Chrome中的文本框中写任何东西,但这在IE中效果很好。请帮助我解决这个问题。
我试图放置可过滤:是的,但仍然没有帮助我。
$('#demo').kendoGrid({
groupable: false,
sortable: true,
serverPaging: false,
serverSorting: false,
serverFiltering: true,
resizable: false,
persistSelection: true,
scrollable:false,
pageable: {
pageSizes: true,
buttonCount: 10
},
toolbar: ["excel"],
excel: {
fileName: "demo.xlsx",
allPages: true
},
pdf: {
fileName: "demo.pdf",
allPages: true
},
dataSource: {
pageSize: 10
},
filterable: true,
columns: [
{
type: "date",
format:"{0:yyyy-MM-dd}" ,
field: "key",
title:"Date",
width: "29px"
},
{
field:"prop",
title:"Pages",
},
{
field:"prop.length",
title:"View Count",
width: "29px",
}
]
}).data("kendoGrid");
文本框应该是可编辑的。
最后,我解决了问题。在防止窗口元素时引导模态的问题。因此,我已经在Bootstrap Modal的弹出窗口之后放了这个。
$(document).off('focusin.modal');
有关更多信息,请参阅此链接。Kendogrid Filter问题