Results 1 to 5 of 5

Thread: CellSelectionModel bug on IE7 when a key pressed

  1. #1
    Ext User Skeleton's Avatar
    Join Date
    Mar 2007
    Location
    İstanbul
    Posts
    68

    Default CellSelectionModel bug on IE7 when a key pressed

    I am using a grid with CellSelectionModel and listening celldblclick events of the grid. In IE7, while there are no cells selected, whenever I press any key (like Ctrl or Shift or any other key from keyboard) I get the following error:

    'cell' is null or not an object
    which points to this line:

    Code:
    var k = e.getKey(), r = s.cell[0], c = s.cell[1];
    on ext-all-debug.js. This does not happen while there is a cell selected.

    I am using alpha 2 revision 6.

  2. #2
    Ext User Skeleton's Avatar
    Join Date
    Mar 2007
    Location
    İstanbul
    Posts
    68

    Default

    I have also noticed that the problem is not related with celldblclick beacuse it still exists without that handler. It can be tested just replacing RowSelectionModel to CellSelectionModel in the paging grid example.

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    Can you verify if this is still a problem with the latest release.

  4. #4
    Ext User Skeleton's Avatar
    Join Date
    Mar 2007
    Location
    İstanbul
    Posts
    68

    Default

    Quote Originally Posted by jacksloc
    Can you verify if this is still a problem with the latest release.
    Yes, it is still there.

    To reproduce the behaviour:
    1- Go to the paging.js of paging grid example
    2- Go to line 84 which is:
    Code:
    selModel: new Ext.grid.RowSelectionModel({singleSelect:true}),
    3- Change it to:
    Code:
    selModel: new Ext.grid.CellSelectionModel({singleSelect:true}),
    4- Open the paging.html in IE6/7
    5- Do NOT select any cell and set the focus to grid (for ex. you can click the scrollbar to the left or click the paging controls below to set the focus)
    6- Press any key from your keyboard and the error shows up.

    This does not hapen while any cell is selected.

  5. #5
    Ext User Skeleton's Avatar
    Join Date
    Mar 2007
    Location
    İstanbul
    Posts
    68

    Default

    As far as I can see this had been fixed Thanx!
    "In Ext, we trust!"
    huseyint.com

Similar Threads

  1. Toggle button: change button icon when pressed?
    By dbadke in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 26 Mar 2007, 7:14 AM
  2. [1.0a2 Rev 5] Buttons issue ("pressed" state)
    By Arikon in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 28 Feb 2007, 12:08 PM
  3. misnamed event in Ext.grid.CellSelectionModel.initEvents
    By rogers_reilly in forum Ext 1.x: Bugs
    Replies: 0
    Last Post: 21 Feb 2007, 8:13 PM

Posting Permissions

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