swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.68k forks source link

scrollbarV and virtualization enabled, shows only two rows. I have page size limit 10 #1644

Open satishkuna opened 5 years ago

satishkuna commented 5 years ago

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior Show only 2 rows of total data length 24

Expected behavior should display all the rows with the page size.

Reproduction of the problem

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

siordache94 commented 4 years ago

same issue Angular version 5.2.3 Ionic 3.9.2

siordache94 commented 4 years ago

@satishkuna I think I found the problem: the rowHeight parameter wasn't binded with []: instead of rowHeight="20" write [rowHeight]="20"