如果网格列上有过滤器,则不会出现弹出窗口。
我在 editor-popup.html 示例文件中添加了 filterable: true 并且“添加新记录”不再显示弹出窗口。(但新行仍然未经验证添加)
它看起来像一个错误。
$("#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"
});