Jump to content
  • 0

Switching Positions of 'View Details' and 'Edit' Links



Hellloooo. I've been trying to figure out how I can get the 'Edit' link to come before the 'View Details' link in a tabular report. I looked everywhere in Styles, and Live Chat told me that there wasn't an option for this. 

I believe I could make a Details DataPage and pass the primaryKey to get a details section, and put that link to the other side of the 'Edit' link.... But I would rather not use a new datapage just for this function.

Anyone have any other ideas?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello @kpcollier,


If I correctly assumed what you want to achieve, this could've been done with JavaScript. However, seeing that each Action's related  HTML Elements, <a>and <span>, not grouped [i.e. Corresponding elements of View Details, Edit, (and possibly Delete) not having the same HTML Parent], we might be better off doing a dirty workaround instead of having JavaScript intervene with the HTML document.





Are you ready for the dirty workaround?

Well, you can just cheat by interchanging "View Details" and "Edit" on Styles and Localizations. Below are images of what you need to change.






Hope this helps in a way.



return of DN31337

Link to comment
Share on other sites

  • 0

With how Caspio's currently doing it, it's just not worth implementing a JavaScript solution over making do with the dirty workaround provided.

But tell you what, you may use these Custom Image URLs. Just replace xxx with your Integration URL or Account Friendly Sub-domain

https://xxx .caspio.com/images/dp/RA_details_go.png

https://xxx .caspio.com/images/dp/RA_edit_pencil.png




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...