Make button visible/invisible based on portal row selected

Discussion created by ryanmead83 on Oct 26, 2015
Latest reply on Oct 4, 2017 by siplus

Just wondering if this is possible.  I have a portal showing under a record with related records.  I want the button that says "Delete Record" which I have above the portal, to only be visible if I have a portal row selected.  Same with "Go to Selected" for navigation.  So I have a button that just says go to related record.  Is there a way though with a script trigger or whatever, to actually do an action based on a row being selected?  So I guess conditional formatting to show or hide the buttons, or even the Hide object when under Inspector, but just not sure how to trigger something based on a selected row.  I don't want to have to click a field on the portal since none can be edited, I just want users to click it so it highlights the row with active row state, and then have "Delete" and "View" buttons appear taking them to the selected record, and disappear when none is selected.