Commit d1cae93
committed
refactor(cdk/table): move virtual scrolling logic into the table
Combines the logic from the `CdkTableVirtualScroll` with the existing `CdkTable`. This allows us to remove the following steps from the virtual scrolling setup:
1. Having to import `CdkTableVirtualScroll`.
2. Having to set `fixedLayout` on the table.
3. Having to set `virtualScroll` on the table.1 parent 2f351e2 commit d1cae93
File tree
6 files changed
+161
-262
lines changed- src
- cdk/table
- components-examples/cdk/table
- cdk-virtual-flex-table
- cdk-virtual-table
6 files changed
+161
-262
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
This file was deleted.
0 commit comments