kendo grid 点击更新没有反映

  • Post author:
  • Post category:其他


679411-20180201155715781-643703794.png

因为没有在dataSource上写schema

   schema: {
          model: {
                id: "DeptId",
                fields: {
                    CompanyId: { editable: false, nullable: true },
                    DeptId: { editable: false, nullable: true },
                    DeptName: { editable: true, nullable: true, type: "string", validation: { required: false } },
                        }
                 }
          }

转载于:https://www.cnblogs.com/weloveshare/p/8399494.html