• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

context menyu not closing

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
for the below code ,I m able to get the menu item value on contextmenu, but the response time is very slow.
i need to get the cut option enable first on click of any leaf node and when i click the next time then the paste menu will be enable .
but its not that first .
and sometimes the contextmenu is not even closing, the functionality works fine , but the component behaves very slowly.
is there anyway i can improve the performance of the component.


Regards,
amarshi
 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't specify but it looks like you're using RF 3.3.* and to be honest I've only ever used RF 4. At a guess you need to
move the contextMenu outside the rich:tree, it doesn't need to be a child component because of the attachTo (renamed to
target in RF 4.2.0.CR1). That's the way you'd do it in RF 4 anyway.

Regards,
Brendan.
 
amarshi mohanty
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Brendan Healey,
I tried doing the same, but it doesn't make any difference.Is it a problem with the 3.3 version?


Regards,
Amarshi
 
I'm gonna teach you a lesson! Start by looking at this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic