Open penso89 opened 7 years ago
Just remove rowHeight.
Virtual scrolling is disabled when rowHeight is not provided.
@penso89 Is your issue solved? If so, please close.
@adammedford With which version of ngx-datatable did you try it?
I am using Angular4 and ngx-datatable version 9.3.0, when I have [scrollbarV]="true" and no rowHeight, I still see the virtual scrolling.
The same here ngx-datatable@11.1.7 and angular 5
same issue in Angular 5. This is my code snippet.
<ngx-datatable #ngxDataTable class="material" [rows]="rows" [columns]="columns" [columnMode]="'standard'" [headerHeight]="50"
[footerHeight]="50" [rowHeight]="50" [reorderable]="false" [loadingIndicator]="isLoading" [scrollbarV]="true" [scrollbarH]="true"
[externalPaging]="true" [count]="total" [offset]="pagination.page - 1" [limit]="pagination.size" [externalSorting]="true"
[selected]="selectedRows" [selectionType]="'checkbox'" (select)='onCheckRow($event)' (page)='setPage($event)' (sort)="onSort($event)">
any solution?
hey guys.... Who found any solution? @ShayHaluba you found solution? thanks
I'm submitting a ... (check one with "x")
Current behavior Cant have all data on dom and to have vertical scroll(dont want virtual scroll)
Expected behavior Vertical scroll without virtual scroll, all data will be on dom
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Table version: 9.0.x
Angular version: 4.0.x
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]