# Product - Sigma Grid 2.0 - Sample

## Hyperlink Cells

The following sample demonstrates hyperlink in some cells. Whenever end users click on the hyperlink column text then a new window will be open.

function my_renderer(value ,record,columnObj,grid,colNo,rowNo){ var no= grid.dataset.getRecordValue(record,"customer"); var url= grid.dataset.getRecordValue(record,"url"); return "<a target=\"blank\" href=\"http://" + url + "\" >" + no + "</a>"; } var colsOption = [ {id: 'customer' , header: "Customer" , width :80, renderer:my_renderer} ]

## Related Links

Demos List - Image cell - Long text in cell