mini.DataBinding

数据绑定。用于表格与表单的选择、数据变更同步。

Usage

//绑定表单
var db = new mini.DataBinding();
db.bindForm("editForm1", grid);

//绑定控件
db.bindField(textbox, grid, "username");

Examples

数据绑定

Properties

NameTypeDescriptionDefault Set? Get? Tag?

Methods

NameParameterDescriptionReturn
bindForm(form, grid) 绑定表格与表单 Object
bindField(control, grid, field ) 绑定表格与单个控件

Events

NameEventObjectDescription