PDA

View Full Version : [CLOSED] GridPanel is loosing focus on store update (bug?)



rbtceo
Aug 26, 2014, 4:03 AM
Hi All,

GridPanel is loosing focus on store update.

Here is a grid:
http://examples2.ext.net/#/GridPanel/Update/SqlDataSource/

Actions to take to get a bug(?):
1. Go to lowest region and change it.
2. Click on another row (if you do not click on other row - the focus will stay on selected row)
3. Press sync button => focus jumps to the top.

Solution:
InvalidateScrollerOnRefresh="False" .

Thank you.

Daniil
Aug 26, 2014, 6:28 AM
Hi @rbtceo,

I guess under "focus" you mean a scroll position.

After a sync request a GridPanel's view is being refreshed and a scrollbar is being reset.

I think you've found exactly the option that you need - InvalidateScrollerOnRefresh="false".

rbtceo
Aug 26, 2014, 11:27 PM
Thank you.

The thread can be closed.