Posted 14 February 2018, 10:10 pm EST
Please try the code given below.
Html :-
<wj-pivot-grid #ctmGrid
[itemsSource]="ngFmt"
(formatItem)="formatItem(ctmGrid, $event)"
[showSelectedHeaders]="'All'"
[itemFormatter]="formatterFunction"
style="border:none">
</wj-pivot-grid>
TS:-
formatterFunction(panel,r,c,cell){
if(panel.cellType==wjcGrid.CellType.ColumnHeader||panel.cellType==wjcGrid.CellType.TopLeft){
if(r==0){
//adding wijmo glyph as icon
var icon=wjcCore.createElement("span");
wjcCore.addClass(icon,"wj-glyph-diamond");
cell.appendChild(icon);
}
}
}