PDA

View Full Version : How to add hyperlink column in sencha grid?



offshoreteam
12 Aug 2013, 1:22 AM
I am using sencha version 4.2. I would like to add hyperlink column in my grid.

How could I achieve this?

tobiu
12 Aug 2013, 2:07 AM
2 options:

1) Use the renderer method for the column and return the link as a string
( return '<a href="...">test</a>'; )

2) Use a template column:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.grid.column.Template