Results 1 to 2 of 2

Thread: Pagingbar store loadpage

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Location
    Singapore
    Posts
    30
    Answers
    1
    Vote Rating
    0
      0  

    Default Pagingbar store loadpage

    i have a paging bar. which i want the current page to be dynamic which can be 2 or 3 rather than default 1 from the grid panel the index which i selected.
    so i added paging.store.loadPage(dynamicpage) for example. for the first time i select the row and the index passed over to the loadPage was ok. but when i select the second time, there an error: Can't execute code from a freed script. so where did i done wrongly?

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

    Default

    store.loadPage shouldn't have any issues as long as you are passing in a valid page. It would be hard to know what's going wrong with no code at all.
    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

Posting Permissions

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