PDA

View Full Version : Pagingbar store loadpage



EvilKnight
18 Sep 2012, 1:37 AM
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?

mitchellsimoens
24 Sep 2012, 7:02 AM
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.