Results 1 to 3 of 3

Thread: Grid cell gets focus after clicking twice instead of once...

  1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    62

    Default Grid cell gets focus after clicking twice instead of once...

    Hallo there,

    I found some strange behaviour in my Ext JS grid: When clicking on a cell (grid has cell selection model) it gets focus. When clicking on another cell it get's focus, too. But when changing data in the first cell and then clicking on another cell the other cell does not get focus, but the cell with changed data loses its focus. After clicking twice on the other cell it gets focus now, too. Is it possible somehow to let a cell with changed data lose its focus while giving focus to another cell when clicking on it at the same time? Uh, hope this understandable.

    Greetings & thanks,
    Thomas

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    62

    Default

    Hm, no idea? I did not get to a solution of this problem right now. Unfortunately I did not find any examples. :-(
    Some of the cells (at the moment only drop down boxes) have own listeners. Think, I have to use a focus listener, right?

  3. #3
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    Yes, this is a know bug (here), but the solution would mean a rather big rewrite of GridView, which the developers are hesitant to do.

Similar Threads

  1. Disable row selection when clicking on link inside grid cell
    By chernomorez in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Aug 2009, 8:03 AM
  2. [DUP][2.2.1] Grid editing - clicking on another cell
    By sidebog7 in forum Ext 2.x: Bugs
    Replies: 1
    Last Post: 13 Jun 2009, 5:57 AM
  3. Open a new tab by clicking a cell in the grid
    By Raz0r in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 15 Mar 2009, 2:34 AM
  4. Cell value becomes right aligned on clicking the cell for edit
    By guptacse in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 21 Sep 2008, 10:04 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
  •