Hi,
We are using SmartGWT 2.1. I have a ListGrid that contains dynamic number of rows. What I want to happen is that when I reach the last editable column of the last row in the grid, and then I pressed Tab, I want the focus to be in the first editable column of the first row in the grid. Without changing the properties of the ListGrid, the focus keeps moving on to other elements in the page.
I am using the setRowEndEditAction method for the ListGrid to define how the tab key works on the end of a grid row. I have seen the different values of enum RowEndEditAction (NEXT, SAME, STOP, etc.) accepted by this and nothing satisfies what I need.
Is there a way to do what I am expecting? Is there a way to create something like RowEndEditAction.FIRST and pass it as a parameter of setRowEndEditAction method of the grid?
Thanks a lot!
Gino
We are using SmartGWT 2.1. I have a ListGrid that contains dynamic number of rows. What I want to happen is that when I reach the last editable column of the last row in the grid, and then I pressed Tab, I want the focus to be in the first editable column of the first row in the grid. Without changing the properties of the ListGrid, the focus keeps moving on to other elements in the page.
I am using the setRowEndEditAction method for the ListGrid to define how the tab key works on the end of a grid row. I have seen the different values of enum RowEndEditAction (NEXT, SAME, STOP, etc.) accepted by this and nothing satisfies what I need.
Is there a way to do what I am expecting? Is there a way to create something like RowEndEditAction.FIRST and pass it as a parameter of setRowEndEditAction method of the grid?
Thanks a lot!
Gino