| Author |
jsp page table has right click disabled. Why?
|
Tiya Khambadkone
Ranch Hand
Joined: Sep 15, 2011
Posts: 40
|
|
|
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
Joined: Nov 20, 2010
Posts: 109
|
|
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.
|
For java examples,ebooks,interview questions,visit this blog
http://periodicupdates.blogspot.com/
|
 |
Tiya Khambadkone
Ranch Hand
Joined: Sep 15, 2011
Posts: 40
|
|
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.
|
 |
 |
|
|
subject: jsp page table has right click disabled. Why?
|
|
|