EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 03, 2024, 04:29:43 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
How to Disable Right Mouse Click on DataGrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to Disable Right Mouse Click on DataGrid (Read 7722 times)
pratikk
Newbie
Posts: 49
How to Disable Right Mouse Click on DataGrid
«
on:
January 03, 2014, 08:31:39 AM »
As I mentioned in the title, when I right click on the lines of datagrid I want to disable the popup menu
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to Disable Right Mouse Click on DataGrid
«
Reply #1 on:
January 03, 2014, 05:19:53 PM »
Try this.
Code:
$(function(){
$('#dg').datagrid({
onRowContextMenu:function(e){
e.preventDefault();
}
});
});
Logged
pratikk
Newbie
Posts: 49
Re: How to Disable Right Mouse Click on DataGrid
«
Reply #2 on:
January 03, 2014, 11:02:20 PM »
Thank you stworthy. I catched the trick
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...