Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Cory Creamer
176
Views
8
Comments
[Essentials] ClickableRows
Question
Forge
Essentials (O11)
Forge asset by
Essentials
I'm trying to use the ClickableRows, but I'm not having much luck. Could someone load a simple OML showing how to use this component?
Thanks
Cory
Rebecca Hall
I'm working on an example that I will post shortly. Thanks for your patience.
Cory Creamer
I can get the row to click, but it always takes me to a 404 page not found. I can't seem to figure out the targetlink piece.
Any help is appreciated.
Cory
Rebecca Hall
Yeah, I'm getting the same error. I will let you know as soon as I figure it out unless someone beats me to it. :)
Cory Creamer
I just figured it out. The description says "
Makes table row clickable from first table row link. You need a row with the class name "clickable" and a single anchor link called "targetlink".
" It doesn't matter what you name the link, what matters is the style/class applied to it. You need a link in the row with a style set to "targetlink" - you can either do this with an anchor link or creating a link anywhere in the row.
Ultimately, I had place the clickablerow webblock somewhere on the page, then set the extended properties for the row in the table (Name 1 = class, Value 1 = "clickable") as follows:
Then I had to create a link on a cell in the row and set it's style to targetlink as follows (I used an anchor link from essentials, but you could use any link):
Hopefully this might help someone else :-)
Cory
Cory Creamer
OK, next problem - if I sort the table or search to change the results, clickable stops working.
Any ideas?
Rebecca Hall
It sounds like it is redrawing the table so you will need to do an ajax refresh on the clickable rows widget as well to rebind the objects.
Cory Creamer
I should have known that one - but I was drawing a blank - Thank you, that was it!
Cory
J.
MVP
Hi,
I think clickablerows could be improved, by just providing the tableid and columnnumber where the link resides?
hmm, then again, you are missing the possibility of styling...
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...