Announcement

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

    Tabbing with multiple ListGrids

    hi,

    We have a layout with multiple ListGrids with alwaysShowEditors set to true.

    Tabbing on the page tabs from one ListGrid to the next. When reached the last ListGrid it tabs into the first field of the first ListGrid and than tabs to the end of that ListGrid. Then tabbing stops. We would like to tab into the Fields of the other ListGrids.

    Setting listEndEditAction or rowEndEditAction on the ListGrid does not bring us from one ListGrid to the next.


    We would like to tab through all Fields of all ListGrids. And not onto the ListGrid.
    How can we do that?

    (with IE9)

    thanks,
    Marco

    #2
    Thanks for bringing this up, we have the exact same issue. If the focus is on the last cell of list grid n pressing the tab key should place the cursor in the first cell of the n+1 list grid which is directly beneath the other.

    Does anyone at Isomorphic have any clues for us?

    Comment


      #3
      I wrote a little test, which shows the above mentioned issue. When the tab reaches field2 of the listgrid, you can not tab out anymore.
      The same issue exists with http://www.smartclient.com/smartgwt/showcase/#grid_all_editors

      // expected tab-ordering: textItem1, field1, field2, textItem2
      public class GridTest extends VLayout {

      public GridTest() {
      DynamicForm form1 = new DynamicForm();
      TextItem textItem1 = new TextItem("textItem1");
      form1.setItems(textItem1);
      addMember(form1);

      ListGrid grid = new ListGrid();
      grid.setAlwaysShowEditors(true);
      ListGridField field1 = new ListGridField("Field1");
      ListGridField field2 = new ListGridField("Field2");
      grid.setFields(field1, field2);
      addMember(grid);

      DynamicForm form2 = new DynamicForm();
      TextItem textItem2 = new TextItem("textItem2");
      form2.setItems(textItem2);
      addMember(form2);

      // add one test-record
      RecordList list = new RecordList();
      list.add(new ListGridRecord());
      grid.setData(list);
      }
      }

      Comment


        #4
        Can we consider this to be bug in SmartGWT 3.0? As mentioned it's even reproducible in the showcase...

        I'm on GWT 2.4 and SmartGWT 3.0 (files in JAR from 2011-12-12). Last tested with IE9 on Win7. Behavior is the same in dev mode.

        Comment

        Working...
        X