Results 1 to 4 of 4

Thread: grid repositioning on row click

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Aug 2011
    Posts
    4
    Vote Rating
    0
      0  

    Default grid repositioning on row click

    Were having issues with grids that extend past the bottom of the browser. If you click on any row it repositions the grid up. It appears to jump up into the visible area of the browser.

    You can see this by looking at your example grids and resizing your browser to be really small to cut the grid off. Click a row after you do that. Were using extjs 4.0.2a when experiencing this. It is interesting that it only does this jump once. After that it doesn't seem to do it again until you reload.

    http://dev.sencha.com/deploy/ext-4.0...rray-grid.html

    Is there anyway to prevent it from doing this? Thanks.

  2. #2
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,664
    Vote Rating
    404
      0  

    Default

    I think this is a bug. Do you want this thread to be moved to Bugs?
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid MultiSearch Plugin, Grid MultiSort Plugin, Configuring ViewModel Hierarchy


  3. #3
    Ext JS Premium Member
    Join Date
    Aug 2011
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Yes please have it put in as a bug.

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Location
    Boston
    Posts
    86
    Vote Rating
    5
      0  

    Default

    This will prevent the selected row from being focused and thereby fixes this issue:
    Code:
    Ext.override(Ext.selection.RowModel, {                                                                
      onRowMouseDown: function(view, record, item, index, e) {                                            
        //view.el.focus();
        this.selectWithEvent(record, e);
      } 
    });

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •