Skip to content

Lazy load example not using lazyLoad option #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mklein994 opened this issue May 3, 2018 · 1 comment
Closed

Lazy load example not using lazyLoad option #240

mklein994 opened this issue May 3, 2018 · 1 comment

Comments

@mklein994
Copy link
Contributor

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>

@hjalmers
Copy link
Owner

hjalmers commented May 3, 2018

It’s not finished yet so the old one is actually more correct. I just added the files to test the navigation between the examples and the loading of the raw files:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants