Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ListGrid Cell Context Handler Not Fired in Chrome After Grid Obscured by SelectItem

$
0
0
This problem occurs in Chrome (41.0.2272.101 m), but Firefox and IE (recent versions) appear OK.

In a TabSet, I right-justify a SelectItem using TabSet.setTabBarControls(...). The TabSet contains a Tab with a ListGrid. That ListGrid has a cell context handler (via addCellContextClickHandler). The handler shows a context menu.

The handler fires OK (to have menu shown) upon a context-click (right mouse click in Windows) until the SelectItem dropdown is deployed & then collapsed. After that, the rectangular region of the grid that was covered by the SelectItem dropdown window, when context-clicked within, will not cause the cell context click handler to fire. A context-click on the grid region never covered by the dropdown window still causes the handler to fire.

This same behavior occurs using a ListGrid immediately below a ToolStripButton having a SelectItem.

The attached example source demonstrates the behavior.

SmartClient Version: v9.1p_2014-06-11/PowerEdition Deployment

Chrome: Version 41.0.2272.101 m

Attached Files
File Type: java IpStockTake.java (21.8 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles