Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Context Menu on Tree in GWT 2.0.3

 
Ranch Hand
Posts: 33
Google Web Toolkit Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,

GWT 2.0.3
Feature :
1. it's not allow to select the tree using right click.


I am try to use the Context menu on tree or TreeItem using
onBrowserEvent event.
but there is no TreeItem is selected on right click of treeitem.


how to achieve the context menu features in GWT 2.0.3

thanks,
Ganesh Shirsat
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Proabably extend the TreeItem class if GWT 2.x allows you to do so
 
Ganesh Shirsat
Ranch Hand
Posts: 33
Google Web Toolkit Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

TreeItem class not support the onBrowserEvent method.

because it is inherited from UIObject and onBrowServerEvent is not a part of UIObject class.

thanks,
Ganesh Shirsat
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic