EasyUI Forum
October 19, 2025, 07:39:39 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: datagrid contextmenu on: June 25, 2015, 03:57:36 PM
Hi, jarry!

Thaks a lot. Exactly what i wanted and needed. Due to your help js code reduced significant!

Once more: Thank You.
2  General Category / EasyUI for jQuery / datagrid contextmenu on: June 24, 2015, 01:53:42 AM
Hi, All!
I'm a newby in EasyUI, but is very exited of it.
First of all i decided to write simple application for web, using EasyUI to look like usual windows program written in delphi.

My question is: in datagrid i can bind contextmenu ONLY to records of data, but not for entire table? if i have no record in table menu would not appear?

I've done what i need, but it looks not readable:

Code:
$('.datagrid-view .datagrid-view2 .datagrid-body').bind('contextmenu', function (e) { 
  ...
});

It's working, but... is there a more wright way to do this?

p.s. sorry for my poor english...
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!