hi i have a panel in which i wish to diplay sm data from the store
Model
Code:
Ext.regModel('receipts_model', {
fields:[
'timestamp', 'receiptID', 'Identifier', 'retailer', 'transactionID', 'postcode', 'location', 'total' , 'vat', 'offer' ],
hasMany: {model: 'Items', name: 'Items'}
});
Ext.regModel('Items', {
fields:[
'name',
'quantity',
'amount'
]
});
my view
[CODE]
what i want to do is show the 'items' data in a panel
if i use html:<div>{transactionID}</div>
it doesnt work
how can i show the data into the html..