Posted 9 September 2018, 9:18 pm EST
Hello
We’ve been using old version of Wijmo and updated it recently.
After upgrade we are having a problem with this code:
<wj-flex-grid-column [header]="' '" [binding]="'GroupId'" *ngIf="this.groupByColumns.length > 0" [width]="3">
<template wjFlexGridCellTemplate [cellType]="'GroupHeader'" let-cell="cell">
<div (click)="cell.row.isCollapsed = !cell.row.isCollapsed">
<span wj-collapse="" [class.wj-glyph-down-right]="!cell.row.isCollapsed" [class.wj-glyph-right]="cell.row.isCollapsed"></span>
<b>{{cell.item.name}}</b>
</div>
</template>
</wj-flex-grid-column>
Exception is:
Subscriber.js:227 Uncaught ** Assertion failed in Wijmo: Invalid enum value.
I’ve checked documentation:
https://demos.wijmo.com/5/Angular/WijmoHelp/WijmoHelp/topic/wijmo.grid.CellType.Enum.html
Looks like GroupHeader is not supported anymore.
How can we fix it?
Thanks