How to disable auto scroll to selected (focused) cell in ExtJS grid after ALT+TAB (switch) and return back? I select a single cell, then i scroll table to the bottom, switch to any other chrome`s tab or application, switch back and grid scrolls to selected cell. I need to disable this function.
Thank you.
Solved by adding two lines. Maybe its wrong, but it works for me as i need.
Ext.GlobalEvents.events.focus.listeners[0].fireFn=function(){};
Ext.GlobalEvents.events.focus.listeners[0].fn=function(){};
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.