Search code examples
google-apps-scriptgoogle-app-maker

How to show icon buttons only on selection


I have created a page with a table widget which contains icon buttons that are connected to an edit page and a review page. the widget I would prevent App Maker from displaying the buttons permanently. The buttons should only be shown for a selected record. Is there a way to do this in CSS or do I have to add a hide/unhide script to the onclick-event of the record? I would also like to know how I can format the date in the record as dd/mm/yyyy.


Solution

  • You need to add the following built-in App Maker CSS class to the button: visibleOnAncestorHover. You can reverse-engineer how the delete button is implemented:

    CSS style