Forum Post: Jsdo - Setting Validation On Schema Model

  • Thread starter Thread starter MTBOO
  • Start date Start date
Status
Not open for further replies.
M

MTBOO

Guest
Does JSDO support setting validation on schema model. Wiring up Kendo Grid to JSDO data source but would like to enforce validation at schema level var baseDS = { type: "jsdo", serverFiltering: true, //batch:true, transport: { jsdo: "Demo.CustomerBusinessEntity", tableRef: "eCustomer", countFnName: "count" }, schema: { model: { fields: { // Is defining fields/properties possible using the JSDO? CustRef: { type: "string", editable: false, validation: { required: true }, } } } },

Continue reading...
 
Status
Not open for further replies.
Back
Top