-2

I want to use rightClickHandler in smartGWT Calender widget. Can anybody help me?

Rajnikant Patel
  • 561
  • 3
  • 19

2 Answers2

0
  Menu mainMenu = new Menu();

//menu items

 widget.setContextMenu(mainMenu);

http://www.java2s.com/Code/Java/GWT/ContextMenuSampleSmartGWT.htm

How to handle right mouse click on the specific Event in SmartGWT Calendar?

Community
  • 1
  • 1
Suresh Atta
  • 120,458
  • 37
  • 198
  • 307
0

You can try for RightMouseDownHandler().

Calendar calendar = new Calendar();

calendar .addRightMouseDownHandler(new RightMouseDownHandler() {

            @Override
            public void onRightMouseDown(RightMouseDownEvent event) {
                // TODO Auto-generated method stub

            }
        });
PVR
  • 2,534
  • 18
  • 38