Posted 7 November 2019, 2:31 pm EST
I’ve been running into an issue that recently came up where the wj-flex-grid will not populate/display the data correctly. It seems the problem occurs when the data comes in too quickly and the grid only displays partial data and the styles/formatting are messed up. We are currently on version: “wijmo”: “5.20183.568”
When I throttle my HTTP request or put a delay on my observable the problem no longer happens. It’s only when requests that come in faster than 200ms do i see this issue.
Here is a snippet of the grid, any help would be greatly appreciated as it is affecting multiple areas of my application:
<wj-flex-grid #entityFlexGrid [hidden]="!entityDataList.data.length"
[itemsSource]="entityDataListGrid"
[headersVisibility]="'Column'"
[autoGenerateColumns]="false"
[selectionMode]="'ListBox'"
(loadedRows)="onEntityGridLoaded(entityFlexGrid)"
[isReadOnly]="true"
[autoSizeMode]="'Both'"
[allowSorting]="false">
<wj-flex-grid-column *ngFor="let col of entityDataList.columns"
[binding]="col.binding"
[header]="col.header"
[visible]="col.visible"
[width]="'*'"
[align]="'left'"
[minWidth]="_globalService.minColWidth"
[isContentHtml]="true">
</wj-flex-grid-column>
</wj-flex-grid>