Below code is an example of:Ext.create('Ext.data.Store',{ model:'StudentDataModel', proxy : { type :'rest', actionMethods :{ read :'POST' // Get or Post type based on requirement }, url :'restUrlPathOrJsonFilePath',// here we have to include the rest URL path which fetches data from database or Json file path where the data is stored reader:{ type :'json', // the type of data which is fetched is of JSON type root :'data' },}});
Submit Comment/FeedBack