1

请在IE(引导V2)检查了这一点:http://jsbin.com/emuqazEz/22 这是自举3版本:http://jsbin.com/emuqazEz/31剑道电网在引导2或3个模态 - IE过滤器不工作

下面是编辑版本:http://jsbin.com/emuqazEz/22/edit

这些过滤器在我测试过的任何IE版本中根本不起作用。无论在Chrome还是Firefox,它都能正常工作。

这里是列设置和数据源:

columnsettings = [ 
     "ProductName", 
     { 
       field: "UnitPrice", 
       title: "Unit Price", 
       format: "{0:c}", 
       width: "130px" 
     }, 
     { 
       field: "UnitsInStock", 
       title: "Units In Stock", 
       width: "130px" 
     }, 
     { 
       field: "Discontinued", 
       width: "130px" 
     } 
]; 

var gridDataSource = new kendo.data.DataSource({ 
    data: products, 
    schema: { 
       model: { 
         id: "uid", 
         fields: { 
         ProductName: { type: "string" }, 
         UnitPrice: { type: "number" }, 
         UnitsInStock: { type: "number" }, 
         Discontinued: { type: "boolean" } 
         } 
       } 
     }, 
     sort: { 
       field: "", 
       dir: "desc" 
     }, 
     pageSize: 50 
}); 
+0

演示中的按钮不会执行任何操作 –

+0

当它处于编辑模式时,它不起作用。你必须访问顶部链接才能使按钮工作,这是没有html/css/javascript窗口可用的。 – carter

+0

看起来像模态与事件混乱,可能是因为过滤器元素不在模态元素内,它认为他们不应该获得焦点;不知道为什么这是特定于IE的,这可能需要很长时间才能找出/调试;你有没有试过用bootstrap 3重现这个? –

回答

2

这里是解决这个我问题:

对于引导3.0

$('#myModal').on('shown.bs.modal', function() { 
    $(document).off('focusin.modal'); 
    }) 

较低的其他版本提供by telerik

$('#myModal').on('shown', function() { 
    $(document).off('focusin.modal'); 
});