Closed andreyjkee closed 5 years ago
The rows
input expects to receive the entire set of rows to be shown in the table. If your observable is only emitting 10 at a time, it will only ever show 10.
If you want to show all rows emitted up until completion, you could use the reduce
operator:
displayedRows.pipe(reduce((allRows, rows) => [...allRows, ...rows])
@eppsilon thanks, so it was my incorrect usage of this feature, closing
I'm submitting a ... (check one with "x")
Current behavior When async pipe applied to rows input, table renders only last emitted data
Expected behavior Table should render all data emitted by observable
Reproduction of the problem
Template:
Default page size is 50, when I receive 50 records from server, only latest 10 visible in table
Table version: 14.0.0
Angular version: 7.1.3
Browser: Chrome latest
Language: TypeScript