Hi,
I'm looking for a list in the documentation for Data Source that defines what types of fields can be defined for a configured schema. The code below is from your example here: http://demos.kendoui.com/web/grid/editing-custom.html
For example: UnitPrice is specified as type "number". Where can I get the list of all these types?
I'm looking for a list in the documentation for Data Source that defines what types of fields can be defined for a configured schema. The code below is from your example here: http://demos.kendoui.com/web/grid/editing-custom.html
For example: UnitPrice is specified as type "number". Where can I get the list of all these types?
var
dataSource =
new
kendo.data.DataSource({
pageSize: 30,
data: products,
autoSync:
true
,
schema: {
model: {
id:
"ProductID"
,
fields: {
ProductID: { editable:
false
, nullable:
true
},
ProductName: { validation: { required:
true
} },
Category:
"Category"
,
UnitPrice: { type:
"number"
, validation: { required:
true
, min: 1} }
}
}
}
});