jQWidgets Forums

jQuery UI Widgets Forums Grid Grid in mat-tabs

This topic contains 1 reply, has 2 voices, and was last updated by  Stanislav 7 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid in mat-tabs #99748

    Michal6677
    Participant

    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>
    
    Grid in mat-tabs #99769

    Stanislav
    Participant

    Hello Michal6677,

    At the moment we do not have any demos with material.

    Can you provide us with a full example?

    Best Regards,
    Stanislav

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.