how a Ext.data.Model object access Ext.data.Store properties
how a Ext.data.Model object access Ext.data.Store properties
Hi buddys I am new to ExtJS and now am learning.My doubt is as follows
var selModel = grid.getSelectionModel();
var selectedRecords = selModel.getSelection();
var selectionCount = selModel.getCount();
recData = 'From : ' + selectedRecords[0].data.mailid + '<br/> Subject is : ' + selectedRecords[0].data.subject;
In the above selectionRecords is an array of objects of Ext.data.Model.....but still can access "data" property...which is not at all a property of Ext.data.Model
Please help me....I am unable to understand this scenario