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
Context menu
-
- Profound User
- Posts: 76
- Joined: Fri Jan 11, 2013 6:11 pm
- First Name: Sean
- Last Name: Tyree
- Company Name: US HealthWorks
- State / Province: California
- Zip / Postal Code: 91355
- Country: United States
- Contact:
-
- Profound User
- Posts: 76
- Joined: Fri Jan 11, 2013 6:11 pm
- First Name: Sean
- Last Name: Tyree
- Company Name: US HealthWorks
- State / Province: California
- Zip / Postal Code: 91355
- Country: United States
- Contact:
Re: Context menu
I solved the issue by using the onrowclick event like this:
if (isRightClick) {
applyProperty("RCMenu1", "visibility", "hidden");
}
Sean
if (isRightClick) {
applyProperty("RCMenu1", "visibility", "hidden");
}
Sean
Who is online
Users browsing this forum: No registered users and 1 guest