darkhorni
13 Jun 2012, 6:07 AM
This the model that I want to create using json file
Ext.define('Users', {
extend: 'Ext.data.Model',
fields: [{name: 'user_id', type: 'int'},
{name: 'user_name', type: 'string'}]
});
What I have to make in order to create it from a json file before the grid is being created?
Ext.define('Users', {
extend: 'Ext.data.Model',
fields: [{name: 'user_id', type: 'int'},
{name: 'user_name', type: 'string'}]
});
What I have to make in order to create it from a json file before the grid is being created?