相关疑难解决方法(0)

防止在kendo网格中编辑一行?

我正在使用kendo网格,在编辑行时,我正在检查该行是否可编辑.如果不可编辑,如何使所选行不可编辑.我正在检查edit网格功能.

$("#grid").kendoGrid({
    dataSource : ds,
    selectable : "multiple",
    sortable   : true,
    filterable : false,
    reorderable: true,
    scrollable : false,
    toolbar    : ["create"],
    columns: [
                { field: "event", width: "120px", title: "Event Type"},
                { field: "event_id", width: "120px", title: "Event ID"},
                { field: "addr_no_or_type", width: "120px", title:"Address"},
                { field: "event_rate", width: "100px", title: "Rate"},
                { field: "sched_date", width: "100px", title: "Scheduled"},
                { field: "complete_date", width: "100px", title:"Completed"},
                { field: "serial_no", width: "100px", title: "Serial #"},
                { command: ["edit", …
Run Code Online (Sandbox Code Playgroud)

html javascript jquery kendo-ui kendo-grid

3
推荐指数
1
解决办法
6924
查看次数

标签 统计

html ×1

javascript ×1

jquery ×1

kendo-grid ×1

kendo-ui ×1