Define uri cell with text

507 Views Asked by At

I need to print an anchor in column cell. But, I don't have idea as how do it correctly.

I defined the cell as:

{name: 'menu', label: 'Menu', cell: Backgrid.UriCell.extend(), sortable: false}

But, I don't know how set the text of the link. Any ideas ?.

2

There are 2 best solutions below

0
On

You can read the source code. It's very simple.

0
On

With standard uri cell, you can't have text of the link different from actual uri. You'll need to override render() method in order to accomplish that.