Grid : Popup Menu on Right Click

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
k2R400
Profound User
Posts: 62
Joined: Sat Feb 18, 2012 12:03 pm
First Name: Patrick
Last Name: THOMAS
Company Name: Oo2
Country: France
Contact:

Grid : Popup Menu on Right Click

Post by k2R400 »

Hello,

Do you have an example (PUISAMPLES ?) with an option popup menu on a Grid ?
Example from ExstJS : --> right click on a row.
Scott Klement
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

Post by Scott Klement »

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests