Title: Datagrid context menu issue Post by: sectioni on April 03, 2016, 09:17:43 AM If i right-click and remove all columns, i am unable to right-click again to get the context menu.
You can try this with your own demo. http://www.jeasyui.com/demo/main/index.php?plugin=DataGrid&theme=default&dir=ltr&pitem= Select the "Context Menu on DataGrid" demo. Remove all columns. try to get them back. Title: Re: Datagrid context menu issue Post by: jarry on April 05, 2016, 12:50:29 AM Please try to download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.5-patch.zip.
Title: Re: Datagrid context menu issue Post by: sectioni on April 06, 2016, 05:52:33 AM This solves the problem but creates a new one.
When there are columns, and i right click, the 'onHeaderContextMenu' event is called twice, the menu-shadow element is created twice, and when the context menu disappears i'm left with one visible menu-shadow element. The problem occurs because there is also a 'contextMenu' event on each column. and your patch adds another one on the entire header. Title: Re: Datagrid context menu issue Post by: jarry on April 06, 2016, 09:01:35 AM This issue has been fixed. Please download the patch from http://www.jeasyui.com/download/downloads/jquery-easyui-1.4.5-patch.zip.
Title: Re: Datagrid context menu issue Post by: sectioni on April 07, 2016, 01:51:34 AM Works
|