Skip to content

Lazy load example not using lazyLoad option #240

Closed
@mklein994

Description

@mklein994

Is there a reason the new example for lazy loading doesn't set [gtOptions]="{lazyLoad: true}"? I was experimenting with it (trying to get lazy loading to work with #221), and noticed that while the older one sets it, the new one doesn't.


Old:

<generic-table [gtClasses]="'table-hover'" #myTable [gtSettings]="configObject.settings" [gtFields]="configObject.fields" [(gtData)]="configObject.data" [gtInfo]="configObject.info" (gtEvent)="trigger($event)" [gtOptions]="{stack:true, highlightSearch:true, lazyLoad:true, rowSelection:true}"></generic-table>

New:
<generic-table #employeeTable
[gtClasses]="'table-sm'"
[gtSettings]="configObject.settings"
[gtFields]="configObject.fields"
[gtData]="data">
</generic-table>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions