Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
igx-grid needs window resize to display data
posted

The igx grid seems to only read the date after I resize the window. My structure is rather simple and basic, I'm not trying to edit the date and I haven't implemented yet any advanced features. After loading (or putting in a search value) I get the error text "Grid has no data.", a simple resize of the window makes it display the values it should.

(The first table is the classic <table> as comparison, they both use the same data)

[edit]

<igx-grid id="grid1" [width]="'100%'" [data]="this.zahlungsbedingungen" [autoGenerate]="false">

The binding here should be straight forward enough.

    ngOnInit() {
        this.zahlungsbedingungResource.query({ q: '*' }).$observable.subscribe(zb => {
            zb.forEach((z) => {
                this.zahlungsbedingungResource.get(z.$primaryKey, { current: true }).$observable.subscribe(q => {
                    this.zahlungsbedingungen.push(q);
                });

            })
        });
        console.log(this.zahlungsbedingungen);
        
    //...
    }

Parents Reply Children