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:
$('.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...