Posted 27 May 2022, 9:59 pm EST
I have olap/pivot grid. I need to convert content of one the column in grid to anchor tag.
I am using formatItem Event for that. Using following code, but it converting column header to anchor tag, not to content of that column and also content didn’t show in grid.
let e = wijmoEvents.e, s = wijmoEvents.s;
let ng = s.engine;
if(true)
{
if (ng.rowFields[ wijmoEvents.e.col % ng.rowFields.length].header == 'Duplicate Group'){
wijmoEvents.e.cell.innerHTML = "<a href='https://www.w3schools.com' >"+ wijmoEvents.e.cell.innerHTML+"</a>";
}
}
Any idea what I am missing?