Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    lose focus when using tab key to navigate in a editable listgrid in IE8

    I have a editable listgrid and I want to edit it using tab key navigating from cell to cell. When I use tab to navigate to the next cell, the focus fly to the URL input of the browser. But what weird is the content of next cell is also selected as well as the URL input. It seems that the focus move to next cell first and then to the URL input. How could this happen that the whole application loses the focus when navigating inside it?

    It happened only in IE and worked well in Firefox. Any idea on this?

    #2
    Help Needed : I am also facing same issue. While navigating through Listgrid using TAB key, grid loses focus and cursor is not placed in editor of next cell. This occurs only in IE not in FF.
    Have you fixed it, any workaround for this issue ?? Please share your thoughts on it..

    P.S: Using smartGWT 2.5. Tested in IE 6/8/9 and in FF.
    Last edited by kk8322; 7 Nov 2011, 23:17.

    Comment


      #3
      If you think this is a problem with SmartGWT, you should post a minimal, standalone test case and instructions to reproduce it, as well as all other information listed in the FAQ.

      Comment


        #4
        Hi Isomorphic,
        I have created a stand alone project and tested the list grid in that project in IE 8/9/6. In all the cases while navigating through cells of listgrid using TAB key- It is entering the editor of next cell, but only few cells are getting focus in editor and few cells are not getting focus in editor (randomly). I have attached small stand alone test file which shows same behavior. i have also attached screen shot of what happens while navigating through cells using TAB key with and without focus.
        I have used GWT2.0.3. with SmartGWT2.5 and latest nightly build to test the application. Both gives same result (lost focus in random cells).

        Please let me know workaround on how to fix this issue.
        Attached Files

        Comment


          #5
          This test code is just like many working samples, and doesn't reproduce a problem. Most likely there's something special in your project in addition to this code, like perhaps use of a GWT history library or third-party script.

          Two things you should fix regardless:

          1. upgrade to a more recent GWT
          2. don't use RootPanel.add(), use draw() (see QuickStart Guide)

          Comment

          Working...
          X