Question:
What is SimpleStore() function in Extjs?
Answer
This is a function of Ext.data class. It is use to store data in the variable formatting similar to tabular data. For examplevar genres=new Ext.data. SimpleStore ({
fields:[‘id’,’genre’],
data:[[‘1’,’Comedy’],[‘2’,’Drama’],[‘3’,’Action’]]
});
+ Report
What is SimpleStore() function in Extjs?