Posted 26 April 2018, 2:22 am EST
I get this error whenever i add the wijmo grid to my angular page
here is the error Error: ** Assertion failed in Wijmo: Invalid enum value.
here is the area that throws the exception. the page still loads and works normally it throws the exception the first time the page loads.
the underlined line is where the error points to
<wj-flex-grid #flexentity
<div class="form-subsection" *ngIf = '!entityLoading'>
<div class="order-list-grid" [class.hidden]="!flexentity.rows?.length">
* " [i]<wj-flex-grid #flexentity[/i]"
[itemsSource]="Userentities$"
items-source-changed="itemsSourceChanged(s,e)"
[frozenColumns]="1"
style="max-height:500px"
autoSizingColumn="true"
[selectionMode]="Row"
>
<wj-flex-grid-filter #filter></wj-flex-grid-filter>
<wj-flex-grid-column [header]="'Entity Type'" [binding]="'UserType'" [isReadOnly]="true" ></wj-flex-grid-column>
<wj-flex-grid-column [header]="'Assigned As'" [binding]="'AssingedAs'" [isReadOnly]="true" ></wj-flex-grid-column>
<wj-flex-grid-column [header]="" >
<ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-cell="cell">
<button type="button"
class="icon-button icon icon--trash icon-button--caution order-list-toolbar__button"
(click)="deleteUserEntity($event)"
[class.input-loading]="deleteloading"
title="Delete">
<span class="is-vishidden">Delete</span>
</button>
</ng-template>
</wj-flex-grid-column>
</wj-flex-grid>
<div class="order-list-grid-nav">
<button (click)="AddEntityForm.open()"
type="button"
title="Add New Entity"
[disabled]="appForm?.disabled"
class="icon-button icon icon--plus field-action-combo__action">
<span class="is-vishidden">Add Entity</span>
</button>
<wj-menu [(value)]="pageSize" [header]="'Page Size'">
<wj-menu-item [value]="0">No Paging</wj-menu-item>
<wj-menu-item [value]="50">50 items</wj-menu-item>
<wj-menu-item [value]="100">100 items</wj-menu-item>
<wj-menu-item [value]="200">200 items</wj-menu-item>
<wj-menu-item [value]="500">500 items</wj-menu-item>
</wj-menu>
<wj-collection-view-pager [cv]="flexentity?.collectionView">
</wj-collection-view-pager>
</div>
</div>
</div>