My users have asked for a way to quickly jump to different Accounts without going back to a tab. I created a button that shows up on every account detail page that when clicked shows a pop-up with a quick list of all the accounts in a table. I would like to do two things and wondered if they were possible.
1. I wanted to highlight the table row that matches the URL id of the client detail page they were already on so they can quickly see their place in the alphabetical list. A lot of users go down the list one by one and update certain information. This would allow them to always see their place in the list. Can someone help me with the snippet and css to be able to say if Row ID === URL id then highlight row green etc.?
2. A useful tool that we had in an old database was a button that would automatically load the next client in Alphabetical order when the button was clicked. Could this be done with model conditions somehow? For instance a Model that sorts by alphabetical order but that only brings in 1 record. For instance, if I could make a condition that start on the current ID and brings in the next ID/Name sorted alphabetically I could isolate the next Account. That would bring in one record id for the next Account in alphabetical order. I could then have a button that redirects to a URL using the one ID that was brought in. Is it possible to create a condition like that?
In a perfect world I would have three buttons:
Button one is a back button/icon that goes back one account.
Button Two is the Pop Up Button that brings up the list (this is already working)
Button three would be a forward button/icon that jumps to the next account.
Thank you for your thoughts! I appreciate this community.
Question
Highlight row in table if id matches id in URL
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.