Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Use row data to populate table contextMenu slot.

edited Mar 27, 2020 4:47PM in Visual Builder 3 comments

Summary

Use row data to populate table contextMenu slot.

Content

Here is the use case.  I populate a table using a SDP, and display several columns including a Contact column.  I would like to use the contextMenu slot, for the Contact column, to show a menu of the various ways the Contact can be reached.  The data is available in the SDP.  For example, I would like to show a menu with the Contact's  e-mail, phone, associated web site, etc..  Using $current.data to retrieve row data works fine for the "template" columns, but not within the oj-menu element.  Any insights would be appreciated.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!