cancel
Showing results for 
Search instead for 
Did you mean: 

Embed LinkToURL in single table cell

Former Member
0 Kudos

Dear All,

I have a requirement to make one of table cells a link to URL (or maybe alternatively link to Action).

The component we are using is a Table component (the traditional one, not the ALV).

I am searching through forums, but cannot find the solution.

I think I have seen some posts that describe how to make the whole column as a link.

But that would not be a solution for me as we display table content in form of table with 2 columns (Key -> Value).

So the content is determined during the runtime,

and I would like to make one of theese Value cells clickable (a link).

Would appreciate your comments on that .

Regards,

bob.

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Bob,

If I understand your requirement correctly, you would like the contents of column VALUE to be a LinkToURL only some of the time, depending on the value in column KEY. You can achieve this with cell variants.

This SCN blog post describes how to apply cell variants for a different purpose, but you should be able to adapt the approach to your needs. Also see the documentation on the TableStandardCell UI element.

Cheers,

Amy

Former Member
0 Kudos

Bingo!

Thanks Amy!

Answers (0)