Validate field in Kendo Grid as required with MVVM

2 posts, 0 answers
  1. Jairo
    Jairo avatar
    6 posts
    Member since:
    Mar 2017

    Posted 23 May 2017 Link to this post

    Good afternoon,

    Is there a sample on how to validate a field as required/mandatory in a Kendo Grid that allows inline editting and that is bound to a source using MVVM?

    I know I can define that in the schema but I don't see how to define the schema with the data-* attributes in this case... should I do it with Javascript manually?

    A sample would be nice ..so please if you know of any please share it here.

    Thanks!

     

  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2062 posts

    Posted 25 May 2017 Link to this post

    Hello Jairo,

    The schema can not be set using the "data-" attributes. The entire DataSource can be using as shown in the Grid / MVVM demo. 

    Regards,
    Boyan Dimitrov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top