Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
This solution is tested on the list with list template "Table - Classic" and with "Display Row Actions in Single Column?" enabled.
Place these codes in Userview Builder > Settings.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<style> /* Style The Dropdown Button */ #list_form > tbody > tr > td.row_action.footable-visible.footable-last-column > li > a { background-color: #4CAF50; color: white; padding: 16px; font-size: 16px; border: none; cursor: pointer; } /* The container <div> - needed to position the dropdown content */ #list_form > tbody > tr > td.row_action.footable-link.open visible.footable-last-column > li { position: relative; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-menu { display: none; position: absolute; background-color: #f9f9f9; min-width: max-content160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: left: unset; right: 0; } .action-link 1; } /* Links inside the dropdown */ #list_form > tbody > tr > td.row_action.footable-visible.footable-last-column > li > ul > li > a { color: black; padding: 12px 16px; text-decoration: none; display: block; } /* Change color of dropdown links on hover */ .dropdown-menu a:hover {background-color: #f1f1f1} /* Need to modify the anchor tag */ .dropdown-menu a { color: black; padding: 12px 16px; text-decoration: none; display: block; } /* Show the dropdown menu on hover width*/ #dropdownBtn:hover max-content; left: auto; right: 0; }.dropdown-menu { display: block; } /* Change the background color of the dropdown button when the dropdown content is shown */ #dropdownBtn:hover .dropbtn { background-color: #3e8e41; } .dropdown-menu li{ list-style-type: none !important; } </style> |