PDA

View Full Version : Itemclick bug on grouped grids



zenrast
31 Mar 2014, 5:59 AM
I have a large grouped grid (collapsed).

In development everything works fine. But after i "compile" the code with Architect into a single app.js file the grid behaves strange.

The onclick event starts to return a wrong "record".
For example:
I expand a group and click on item and expect the "record" A .
But the itemclick returns the record X.
I can click multiple times and the returned record for this item is allways X.
EXCEPT when i expand the group where this item is for real. After that the expected record A is returned and everything starts to work as in development.

I think that this has been discussed in the past. Whats strange is that this bug happens only in "production".
http://www.sencha.com/forum/showthread.php?269110

zenrast
31 Mar 2014, 7:43 AM
OK i found the error. I was compiling/building with and old versions of ExtJs (4.2.1) where the bug was still present. I changed to 4.2.2 (the same as the dev version) and it now works perfectly.

Gary Schlosberg
31 Mar 2014, 9:16 AM
Glad to hear that you're up and running, and thanks for taking the time to follow up here.