Hi,
I have jqxGrid insinde material tabs. Grids on first visible tab work fine but when I change tab, grids contain no data on the second tab. It looks like grids on hidden component do not work properly.
What should I set to fill grid with data when it appears visible.
this.packageDetailsDS =
{
localdata: this.declarationForm.get("ActiveItem.Packages").value,
datafields:
[
{ name: 'TMarksAndNos' },
{ name: 'TTypeOfPack' },
{ name: 'TNoOfPack' },
{ name: 'TNoOfPieces' },
],
datatype: 'observableArray'
};
this.packageDetailsDA = new jqx.dataAdapter(this.packageDetailsDS);
html:
<jqxGrid #packageDetails width="100%" height="115px" [source]="packageDetailsDA" [columns]="packageDetailsCols" selectionmode="checkbox"></jqxGrid>