focus cell after change selected row in table

i have table and ShortcutListener on Enter key. Table in edit mode and have some fields for editing.
Fields are generated in TableFieldFactory like


String pid = (String) propertyId;
                    if (pid.equals(priceOutStr)) {
                        TextField textField = new TextField();
                        textField.setImmediate(true);
.............

For change selected row i wrote it


     table.addShortcutListener(new ShortcutListener("test", ShortcutAction.KeyCode.ENTER, new int[0]
) {
            @Override
            public void handleAction(Object sender, Object target) {
                HashSet<Object> selectedHSet = new HashSet<Object>();
                Collection allItemsColl = (Collection) thisIC.getItemIds();
                Collection selectedColl = (Collection) table.getValue();
                DinamicParams[] allItemsOfTable = (DinamicParams[]
) allItemsColl.toArray(new DinamicParams[0]
);
                DinamicParams[] selectedItemsOfTable = (DinamicParams[]
) selectedColl.toArray(new DinamicParams[0]
);
                for (int i = 0; i < allItemsOfTable.length; i++) {
                    for (DinamicParams dp2 : selectedItemsOfTable) {
                        if (dp2.equals(allItemsOfTable[i]
)) {
                            selectedHSet.add(allItemsOfTable[i + 1]
);
                        }
                    }
                }

                table.setValue(selectedHSet);
                selectedHSet.clear();
            }
        });

and it’s work.

But after change selected row, focus stay in field on previous row.

Can anybody write me how I can change selection of row and place focus on field of new selected row? (like excell after press Enter key)

sorry for my english :slight_smile: