Title: Unnecessary calls for combogrid::onHidePanel Post by: mzeddd on September 16, 2013, 03:03:32 AM I have found that when I click on any combobox or combotree element on my form I have unnecessary onHidePanel call for my combogrid.
It is not a big problem but for onHidePanel I have a function which updates one of my panels with new 'href'. So every time I click on any combobox I have some kind of blinking due to 'refresh' of this panel. Below you can find code of the page where this problem is visible. Thanks in advance! PS: 'Click' is not use of drop-down. It is simple click into the middle of element. Code: <!DOCTYPE html> Title: Re: Unnecessary calls for combogrid::onHidePanel Post by: stworthy on September 16, 2013, 06:24:17 AM For all the combo components including combobox,combotree and combogrid, when drop-down panel is hidden, the 'onHidePanel' event will be triggered.
Title: Re: Unnecessary calls for combogrid::onHidePanel Post by: mzeddd on September 16, 2013, 07:19:11 AM Hi,
Any explanations why this event is triggered for all combo components after an action on one combo? Possible workaround for me is to use 'keyHandler' from combo but when I define it with only 'enter' function it asks me for 'query' function. If I define empty 'query' function autocomplete function stops working and I see nothing in the grid. Can you help me to sort this out? Thanks Title: Re: Unnecessary calls for combogrid::onHidePanel Post by: stworthy on September 16, 2013, 08:36:16 AM Please try to download the updated combo plugin from http://www.jeasyui.com/easyui/plugins/jquery.combo.js and include it in the page.
Title: Re: Unnecessary calls for combogrid::onHidePanel Post by: mzeddd on September 17, 2013, 01:08:37 AM It works!
Very big thank you! |