Friday, July 31, 2015

Re: celllist multi select opens current page in new window?

Me again...

This code seems to work (and I'm posting it here in case it helps someone else).  If anyone thinks this will cause issues somewhere else, and is kind enough to respond, I appreciate it!
        // trap the shift-click || ctrl-click launch of a new browser window.
        cellList.addCellPreviewHandler(new CellPreviewEvent.Handler()
            public void onCellPreview(final CellPreviewEvent event)
                NativeEvent evt = event.getNativeEvent();

                //shift-click || ctrl-click
                if ((BrowserEvents.CLICK.equals(evt.getType())) &&
                        ((evt.getShiftKey()) || (evt.getCtrlKey())) )
                    //Window.alert("Shift-Click Event");



You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment