Results 1 to 3 of 3

Thread: programatically selecting row makes scroll go bottom of the grid and up .....

  1. #1
    Sencha User
    Join Date
    Mar 2013
    Location
    Dallas,TX
    Posts
    4
    Answers
    1

    Default Answered: programatically selecting row makes scroll go bottom of the grid and up .....

    Code
    var ngrid = Ext.getCmp('newgrid');
    ngrid.getSelectionModel().select(indexes[0]);


    After removing few items from store. Selecting a row at particular index on stores bulkremove event causing the grid to scroll all the way down and move up.

    especially in ie8

  2. selModel: Ext.create('Ext.selection.CheckboxModel', {
    preventFocus: true,
    allowDeselect: true
    })

  3. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    In what version of ExtJS are you seeing this issue? Does it only happen in IE8?

  4. #3
    Sencha User
    Join Date
    Mar 2013
    Location
    Dallas,TX
    Posts
    4
    Answers
    1

    Default solved by sencha support ticket by setting preventFocus:true

    selModel: Ext.create('Ext.selection.CheckboxModel', {
    preventFocus: true,
    allowDeselect: true
    })

Posting Permissions

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