Hi guys i have a problem.

I have createde a flextable. i nned to enable selection for each element 
pressed the "enter" keyboard.

How can i do?

i put some code 

final SingleSelectionModel<AbstractApplicationBean> selectionModel = new 
SingleSelectionModel<AbstractApplicationBean>();
        table.setSelectionModel(selectionModel);
        table.addCellPreviewHandler(new Handler<AbstractApplicationBean>() {
            
            public void 
onCellPreview(CellPreviewEvent<AbstractApplicationBean> event) {
                if (event.getNativeEvent().getKeyCode() == 
KeyCodes.KEY_ENTER) {
                    if (selected != null) {                        
                        selectionTable(selected);
                    }
                }
            }

        });

this not run when i press enter key

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Wo0Zo2mmLuQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to