TeoVr81
TeoVr81

Reputation: 1009

Url Button in Grid

I have a grid that shows a business component data. One field of this table is an Url type. I don't want to show the url as text, i want show only a button that, if pressed, opens the link. How I can do that?

Upvotes: 1

Views: 422

Answers (1)

TeoVr81
TeoVr81

Reputation: 1009

I found a solution for the problem: I changed the visible property of the url field to 'false' and added the link to another field of the grid with this code in the 'load' event:

OtherFieldName.LinkTarget= '_BLANK'
OtherFieldName.Link = link(ATT:UrlFieldName)

I hope this can be useful for you.

Upvotes: 1

Related Questions