cancel
Showing results for 
Search instead for 
Did you mean: 

TableView Clickable Column

Former Member
0 Kudos
159

Hi,

I have a TableView with 4 columns. Column 1 is clickable, when I move the mouse over this column the hand shows up, and on clicking the column it calls the appropriate event associated.

I would like to make the values in this column show up as a hyperlink, indicating the column to be Clickable.

When I do <a href=''> Value </a>, in my cell renderer. The resulting Tableview Clickable column shows up as a hyperlink.

When I click on this hyperlink, it gives me a runtime error.

Is it possible to click the hyperlink, to go to the appropriate event associated to the column.

Any advice would be appreciated.

Thank you.

NAC

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Neville,

In your cell renderer create a htmlb link object and associate the event with that link object.

Prakash

Former Member
0 Kudos

how do you create a htmlb link object.

NAC

Former Member
0 Kudos

Hi Neville,

this is how you create a htmlb link object.

Link test = new Link("test");

test.addText("prakash");

test.setOnClick("onClick");

Answers (0)