Skip to content
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

Allow use of virtual scroll with table #13221

Closed
joedjc opened this issue Sep 20, 2018 · 3 comments
Closed

Allow use of virtual scroll with table #13221

joedjc opened this issue Sep 20, 2018 · 3 comments

Comments

@joedjc
Copy link

joedjc commented Sep 20, 2018

The current method for creating a table (e.g. with 'dataSource' and 'matRowDef') doesn't seem compatible with virtual scrolling (e.g. using 'cdkVirtualFor').

Will it be possible to integrate virtual scrolling in an angular table for the table rows?

What is the expected behavior?

Virtual scroll should be compatible with the Angular Material method of creating tables

What is the current behavior?

Difficult to see how to incorporate virtual scroll in an Angular Material table as it doesn't use a *ngFor method

What are the steps to reproduce?=
What is the use-case or motivation for changing an existing behavior?

Allow Angular Material tables to benefit from virtual scrolling

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 6.2.2
Node: 8.12.0
OS: win32 x64
@angular/material 7.0.0-beta.1

Is there anything else we should know?

@IlCallo
Copy link
Contributor

IlCallo commented Sep 24, 2018

Following this as well.
I think Virtual Scrolling should actually be enabled by default on the table component...

I guess this is related: #10122

@jelbourn
Copy link
Member

jelbourn commented Oct 3, 2018

Duplicate of #10122

@jelbourn jelbourn marked this as a duplicate of #10122 Oct 3, 2018
@jelbourn jelbourn closed this as completed Oct 3, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants