View Full Version : problem while showing nested data in list...

19 Jul 2011, 10:27 AM
I have an app with MVC structure. i am having a problem while showing data in list. the list showed data correctly when the Store first loaded after Ajax response. but when i display that similar data from already loaded store the nested data does not displayed in the list. Here is the code for my List.

Application.views.SupplementDataList = Ext.extend(Ext.List, {
itemTpl : [
'<tpl for=".">',
'<div class="next"><div>{timing_name}</div></div>',
'<tpl for="supplements">',
store: "SupplementTimes"

The problem which i have figured out is that the structure of the store is changed when i used already loaded store. i have attached an image to illustrate my problem.

here is another screen shot.

any quick reply is my pleasure. thanks