View Full Version : Issue faced while migrating Ext.List from Sencha 1.1 to 2.0

3 Jan 2012, 9:08 AM

I am completely new to Sencha.
I have been working on migrating the existing code from Sencha 1.1 to 2.0 and am having a hard time doing so.

Scenario in 1.1 :-

I had a Store whose proxy url was created at runtime.
A list with new data would be obtained after the Store would get loaded
This List was present in a Panel

Scenario in 2.0 :-

I have created a controller, which handles a button click event. On clicking this button, the store is loaded with new data.
A Container has a list whose data is to be updated automatically after the store is loaded.

Problem :-

On button click, the store is getting loaded and the new container is also displayed.
The container seems to have the list, as one of the items, but does not render it at all on it, irrespective of the store data present or not

Thanks In Advance,

3 Jan 2012, 9:38 AM
You have inspected the DOm to make sure the List is there? If it is then are you using itemTpl for your template?

3 Jan 2012, 9:38 PM
Thank you for the prompt reply.
Yes, the List is present in the DOM and have also set an itemTpl for the template.


4 Jan 2012, 2:30 AM
Resolved the issue.

Referred this link :-

Created a viewport as explained in the above link and assigned the list as one of the items in it.
Made us of xtype and alias for adding the list.
Works like a charm...!! :)

Thanks and Regards,