1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
    Vaidehi is on a distinguished road

      0  

    Default Issue faced while migrating Ext.List from Sencha 1.1 to 2.0

    Issue faced while migrating Ext.List from Sencha 1.1 to 2.0


    Hi,

    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 :-
    1. I had a Store whose proxy url was created at runtime.
    2. A list with new data would be obtained after the Store would get loaded
    3. This List was present in a Panel
    Scenario in 2.0 :-
    1. I have created a controller, which handles a button click event. On clicking this button, the store is loaded with new data.
    2. A Container has a list whose data is to be updated automatically after the store is loaded.
    Problem :-
    1. On button click, the store is getting loaded and the new container is also displayed.
    2. 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,
    Vaidehi

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,220
    Vote Rating
    859
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You have inspected the DOm to make sure the List is there? If it is then are you using itemTpl for your template?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
    Vaidehi is on a distinguished road

      0  

    Default


    Thank you for the prompt reply.
    Yes, the List is present in the DOM and have also set an itemTpl for the template.


    Regards,
    Vaidehi

  4. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    7
    Vote Rating
    0
    Vaidehi is on a distinguished road

      0  

    Default


    Resolved the issue.

    Referred this link :-
    http://blog.falafel.com/blogs/baseme...2_and_MVC.aspx

    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,
    Vaidehi

Thread Participants: 1

Tags for this Thread