PDA

View Full Version : [CLOSED] Grid Panel scrolls to top on change of any item



ptrourke
Dec 02, 2013, 4:28 PM
Could someone remind me of what I have to do to prevent a grid panel from scrolling to the top if I click a checkbox in a row that is not near the top of the panel? I tried searching the forums, my own threads, Sencha, and Stack Overflow, and everything I'm finding involves an override - but I thought there was a config option for this.

Thanks!

Baidaly
Dec 02, 2013, 10:27 PM
Hello!

Probably, you mean PreserveScrollOnRefresh and InvalidateScrollerOnRefresh.

But there might be issues still: http://forums.ext.net/showthread.php?25564

ptrourke
Dec 03, 2013, 3:53 PM
Hello!

Probably, you mean PreserveScrollOnRefresh and InvalidateScrollerOnRefresh.

But there might be issues still: http://forums.ext.net/showthread.php?25564

Yes, I did. Ah, I see.

I tried it. As reported in bug #312, if I keep the MaxHeight="300" property (which I have), it does not work; if I change that to Height="300", it does work.

Thanks!

Baidaly
Dec 03, 2013, 4:25 PM
Can we close this thread?

We will add the thread to https://github.com/extnet/Ext.NET/issues/312 as a duplicate and update when we will get any news from Sencha. If you don't mind.

ptrourke
Dec 03, 2013, 5:09 PM
Can we close this thread?

We will add the thread to https://github.com/extnet/Ext.NET/issues/312 as a duplicate and update when we will get any news from Sencha. If you don't mind.

I'm sorry, yes, please do close the thread!