How to make whole dataview element HTML link

Hi there,

I want to make the whole dataview item an HTML link e.g. when a user clicks on any dataview item I want the user to be sent to a specific page. Currently the dataview item gets ‘selected’ i.e. it turns yellow when a user clicks on it, but I want it to act as a link. Each dataview item will be a different link based on data stored in the database.

Much appreciated.
Barry

Hi
You can do something like thisL

data = new dhtmlXDataView({ container:"data_container", select: false, type:{ template:"#Description# <br> #Link#", height:40 } }); data.parse([{ "id":"1", "Description":"DHTMLX", "Link":"<a href='http://dhtmlx.com' target='_blank'>dhtmlx.com</a>"}],"json");