如果网格列上有过滤器,则不会显示弹出窗口。
我在edit-popup.html示例文件中添加了filterable:true,并且“Add New Record”不再显示弹出窗口。 (但是新行仍未添加验证而添加)
它看起来像一个bug。
$("#grid").kendoGrid({
dataSource: dataSource,
filterable: true,
pageable: true,
height: 430,
toolbar: ["create"],
columns: [
{ field:"ProductName", title: "Product Name" },
{ field: "UnitPrice", title:"Unit Price", format: "{0:c}", width: "100px" },
{ field: "UnitsInStock", title:"Units In Stock", width: "100px" },
{ field: "Discontinued", width: "100px" },
{ command: ["edit", "destroy"], title: " ", width: "160px" }],
editable: "popup"
});