EasyUI Forum
September 13, 2025, 12:12:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Menu close inside Combogrid closes the combogrid  (Read 6200 times)
phunksta
Jr. Member
**
Posts: 54


View Profile Email
« on: January 21, 2015, 03:30:53 AM »

Hi,

I have an issue with a menu button object inside a combogrid.
The menubuttons are generated from the datagrid filterrow extension, so have the filter operations listed.

When the user selects a filter, the menu closes but so does the combogrid. The user then has to re-open the combogrid to see the data.

I think I have tracked this down to this bit of code:

Code:
	$(function() {
$(document).unbind(".combo").bind("mousedown.combo mousewheel.combo", function(e) {
var p = $(e.target).closest("span.combo,div.combo-p");
if (p.length) {
_8d4(p);
return;
}
$("body>div.combo-p>div.combo-panel:visible").panel("close");
});
});

The .panel("close") line seems to be saying 'close any visible combo panel in the whole body'.
This seems a bit broad, when it is just an interaction with a single menu/combo!

Is there any way to keep the combogrid open when a menu button inside is used?

Thanks!
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: January 22, 2015, 08:07:39 PM »

Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.1-patch.zip.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!