Hello,
Do you have an example (PUISAMPLES ?) with an option popup menu on a Grid ?
Example from ExstJS : --> right click on a row.
Grid : Popup Menu on Right Click
-
- Profound User
- Posts: 62
- Joined: Sat Feb 18, 2012 12:03 pm
- First Name: Patrick
- Last Name: THOMAS
- Company Name: Oo2
- Country: France
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Grid : Popup Menu on Right Click
Unfortunately, I don't think we have a published example of this.
Normally, a right-click menu is handled with the 'context menu id' property on a PUI grid. You do this by adding a menu widget to the screen and hiding it. Then specify the id of the menu widget in the context menu id of the grid, and it will be displayed when you right-click on a row in the grid.
It's trickier if you want to modify the menu based on what's in the grid record, though, it's still possible with some JavaScript coding. Is that something you need to do?
Normally, a right-click menu is handled with the 'context menu id' property on a PUI grid. You do this by adding a menu widget to the screen and hiding it. Then specify the id of the menu widget in the context menu id of the grid, and it will be displayed when you right-click on a row in the grid.
It's trickier if you want to modify the menu based on what's in the grid record, though, it's still possible with some JavaScript coding. Is that something you need to do?
Who is online
Users browsing this forum: No registered users and 6 guests