Page 1 of 1

Context menu

Posted: Fri Mar 07, 2014 7:38 pm
by SeanTyree
We have a screen with 2 grids, both of them with a context menu assigned to them. When a user right clicks on the lower grid the menu opens. If the user then right clicks on the upper grid, the menu opens on the upper grid while the menu is still visible on the lower grid.

Is there any way to force a context menu closed from javascript? Or a possible timer to "fade out" a menu if a selection isn't taken?

Thanks,
Sean Tyree

Re: Context menu

Posted: Fri Mar 07, 2014 8:56 pm
by SeanTyree
I solved the issue by using the onrowclick event like this:

if (isRightClick) {
applyProperty("RCMenu1", "visibility", "hidden");
}

Sean