1. #1
    Sencha User extgeek's Avatar
    Join Date
    Jul 2008
    Location
    New York USA
    Posts
    49
    Vote Rating
    0
    Answers
    1
    extgeek is on a distinguished road

      0  

    Default Unanswered: How to prevent grid with CellModel from scrolling when clicking on a cell

    Unanswered: How to prevent grid with CellModel from scrolling when clicking on a cell


    Grid with RowModel has the same same problem but there is a workaround

    Code:
    Ext.override(Ext.selection.RowModel, {
        onRowMouseDown: function(view, record, item, index, e) {
    //        view.el.focus();
            this.selectWithEvent(record, e);
        }
    });
    This fix doesn't work if the selection model is CellModel.
    This is a known bug in Ext. They have a fix for it in Ext 4.1

    Anyone has a workaround for it with CellModel in Ext 4.0.7 ?

    Thanks!

  2. #2
    Sencha User extgeek's Avatar
    Join Date
    Jul 2008
    Location
    New York USA
    Posts
    49
    Vote Rating
    0
    Answers
    1
    extgeek is on a distinguished road

      0  

    Default


    Anyone has a fix/workaround?