Unanswered: ST2 Button very slow, but only the first tap
Unanswered: ST2 Button very slow, but only the first tap
Good afternoon,
I am starting to use ST2 and on my first application I have a form screen with a button that loads a JsonP store and pushes a new Nestedlist with the response to the filters in the first screen. Everything peachy...
My only problem is that the first time I tap the button, the application takes about 15 seconds to go from the first screen to the next one, the button just stays there visibly pressed and nothing happens, if I get back to the main query window, and change parameters and issue a new query, everything works perfectly, no delay at all...
Anyone can help pointing to where should I start looking for answers to this problem?
I found what was wrong, the problem was with a grouper function associated to the store, and that was causing the delay. Since I had no idea where to start, I started commenting "additional" lines from the code, until I found the problem.
Finally I started reading more and found out I was using the Tree Store where I should have been using a regular Store. Now the application is very responsive.