Does anyone know how I can get html to render in a dgrid column?
This is what I'm trying to do:
var linksData = [
{ link: '<span class="glyphicon glyphicon-info-sign"></span> DP Plans' },
{ link: 'T1 Land' },
{ link: 'T1 Property' }
];
var linksGrid = new Grid({
showHeader: false,
className: "dgrid-autoheight",
columns: {
link: 'link'
}
});
linksGrid.renderArray(linksData);
The result of this code is that I see the literal string in the first row's column. I'd like the html to be rendered by the browser.