Kendo UI目前最新提供Kendo UI for jQuery、Kendo UI for Angular、Kendo UI Support for React和Kendo UI Support for Vue四个控件。Kendo UI for jQuery是创建现代Web应用程序的最完整UI库。

  • Kendo UI Grid
  • Kendo UI ListView
  • Kendo UI TreeList
  • Kendo UI Scheduler
  • Kendo UI Gantt
入门指南
  • remove—在删除模型之前触发。

注意

  • 只有Scheduler和Gantt支持防止edit、save和remove事件。
  1. 配置数据源的CRUD(创建,读取,更新,销毁)数据操作。
  2. 使用schema.model选项定义模型字段。
  3. 启用editable选项。

注意

下表列出了可用的数据类型。

下面的示例演示如何通过DataSource schema.model声明字段定义。

schema: {model: {id: "id",fields: {id: {editable: false,// A defaultValue will not be assigned (default value is false).nullable: true},name: {type: "string",validation: { required: true }},price: {// A NumericTextBox editor will be initialized in edit mode.type: "number",// When a new model is created, this default will be used.defaultValue: 42},discontinued:{// A checkbox editor will be initialized in edit mode.type: "boolean"},created: {// A date picker editor will be initialized in edit mode.type: "date"},supplier: {type: "object" ,defaultValue: { companyName: "Progress", companyId: 1 }}}}}

创建表单后,小部件将执行以下操作:

  1. 触发edit事件。

此连接遵守以下规则:


声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2019年9月7日
下一篇 2019年9月7日

相关推荐

发表回复

登录后才能评论