PDA

View Full Version : Known issue in 4.1.1 with sorting buffered grids?



Jangla
31 Mar 2014, 12:44 AM
I have a pretty big grid that's displaying some annoying behaviour. When I use a buffered store, attmpeting to sort by any of the columns in the grid causes the loading mask to display and not go away. The sort also fails to occur. As soon as I turn the buffered config off on the store, the sort works fine.

Is there a known issue with this in 4.1.1? If so, what version is the fix in and is there a workaround we can use until it's practical to upgrade?

Apologies for not posting code yet but this grid is pretty huge with a lot of functionality and it will take me a while to come up with a cut down test version.

Edit: Update - it also appear that if you have a buffered store on a grid which returns no records and you later call reload on that store, you will also get an error:


Uncaught TypeError: Cannot read property 'index' of undefined

( startIdx = options.start || me.getAt(0).index; of the reload method )

Removing the buffered flag prevents this error from happening.

Gary Schlosberg
1 Apr 2014, 8:15 PM
Sounds like this issue:
http://www.sencha.com/forum/showthread.php?230125