HOW TO CREATE MODEL IN EXT JS.

zack mathews

Total Post:23

Points:161
Posted by  zack mathews
 631  View(s)
Ratings:
Rate this:
Hi Guys 

Please tell me how to create model in ext js.

Thanks
  1. aditya kumar Patel

    Post:254

    Points:1810
    Re: How to create model in ext js.

    Model is a set of property and datatype and support for validation each property.

    Ext.define('MyApp.model.User', {
        extend: 'Ext.data.Model',  
        fields: ['UserId', 'UserName', 'UserEmail', 'PhoneNumber', 'Address', 'Password'],
         
    });
    Thanks.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!