Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp page table has right click disabled. Why?

 
Tiya Khambadkone
Ranch Hand
Posts: 109
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jsp, js, json and dojo. The table on my page which uses a div tag, has right click functionality disabled . I want to enable copy-paste functionality. How can I do that ? I have no clue what makes a right-click functionality disabled ?
 
sri ramvaithiyanathan
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let me ask you one question, why you have disabled right click funcitonality and why you want to enable it again.
If you not disabled it means, may be your ancestor used javascript functionality to disable the right click functionality.

I dont think you can enable right click only for copy and paste.

select the value which you want to copy and use ctrl+c and ctrl+ v
As of now, I got only this solution for you.
 
Tiya Khambadkone
Ranch Hand
Posts: 109
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a solution.. this was done by dojo...
Dojo.DataGrid definition had selected = "false" ..

I changed it to true and atleast I can now select the text on my JSP page and use Cntrl-C, Cntrl-V.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic