PDA

View Full Version : Mi grid scroll doen't work fine.



rmorales
15 Aug 2012, 3:04 PM
Hello everyone.

I have problem with a grid scroll, the first time it works ok but when I load the store the scroll doesn't work, I am worried because is so necesary that the scroll works because I have to show a lot of information's rows.

can you help me?

mixo
15 Aug 2012, 6:58 PM
I use this patch for this case. It's already discussed here early

if your grid cmp called myGrid it looks like


myGrid.on('scrollershow', function(scroller) {
if (scroller && scroller.scrollEl) {
scroller.clearManagedListeners();
scroller.mon(scroller.scrollEl, 'scroll', scroller.onElScroll, scroller);
}
});

scottmartin
16 Aug 2012, 9:16 AM
What version of Ext4 are you using? This should not be a problem.

Scott.

rmorales
16 Aug 2012, 12:06 PM
Ext js 4.0, do you have any solution for this problem?

scottmartin
16 Aug 2012, 12:15 PM
There are numerous errors in 4.0 related to scrolling (virtual scrolling). Please update to 4.1.1 GA to bypass these problems. 4.1.1 uses native scrolling and also fixes many other issues in 4.0

Regards,
Scott.