Hello

I ve got this class which handle a popup on a autocompleter, my
problem is that the click is not detected in IE (but it works on
firefox)

Project
http://hotlink.ashots.org/autocomplete.zip


public class SuggestionPopup extends PopupPanel implements
ClickHandler {

        public SuggestionPopup(AutoCompleter completer) {
                super(true);
                this.completer = completer;
                //this.addKeyPressHandler(this);
                setAutoHideEnabled(false);

                grid.addClickHandler(this);
                grid.setCellSpacing(0);
                grid.setCellPadding(0);
                inner.add(grid);
                add(inner);
                setStyleName("suggestion-popup");


        }
        VerticalPanel inner = new VerticalPanel();

        Grid grid = new Grid(0, 0);
        AutoCompleter completer;
        int selectedRow = 0;

        @Override
        public void onClick(ClickEvent event) {
                Cell cell = grid.getCellForEvent(event);
                int row = cell.getRowIndex();
        //      int col = cell.getCellIndex();
                completer.setText(grid.getText(row, 0));
                hideMe();
        }

...

thank in advanced for your answer

André

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to