Hello. I am having problem using grid on my Opera 11.0 browser. Whenever I select row using my cursor, the selected rows scrolls up. Here’s an example https://docs.sencha.com/ . I am using Sencha ExtJs 3.3.
Please give me an advice on what should I do.
Thank you so much!Â
Problem with Opera 11.O browser
Â
Try the following things
Â
– Reinstall the new Sencha ExtJs from their site.
Â
– Get the latest version of Opera browser and install it.
Â
– If the above steps are done and you are still facing the problem then i think that there is some problem with the Grid view focus cell method in the Ext Library. You can try using other method available as alternatives or try using the following code
Â
Â
Ext.override(Ext.grid.GridView,Â
{
  focusCell : function(row, col, hscroll)Â
  {
    this.syncFocusEl(this.ensureVisible(row, col, hscroll));
    Â
    var focusEl = this.focusEl;
    Â
    if (Ext.isGecko)Â
    {
      focusEl.focus();
    } else if (!Ext.isOpera)Â
        {
          focusEl.focus.defer(1, focusEl);
        }
  }
});
Â
Hope it helps you.