Results 1 to 3 of 3

Thread: About how to refresh a list page

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default About how to refresh a list page

    Hi, guys
    I am creating basic sencha application.which store contacts details at the server and retrive its data from the server in list.but i want to do things like when i press submit button in form then my contats infomration must be submitted to the server and it will automatically redirect to the contact list view..and my last submited contacts must be appear at that time..I am using navigation view at contacts list page..

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    So the contacts come from the server but you are wanting to send them back? Did you make changes and you are wanting to send those changes back?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Dec 2012
    Posts
    44
    Vote Rating
    3
      0  

    Default

    I am not sure how you are using List, but probably you should reload your store
    Code:
    Ext.getStore("RecentPhotosStore").loadPage(1)
    so it will load first page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •