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

ScrollV without virtual scrolling #894

Open penso89 opened 7 years ago

penso89 commented 7 years ago

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

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

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:

adammedford commented 7 years ago

Just remove rowHeight.

Virtual scrolling is disabled when rowHeight is not provided.

wizarrc commented 7 years ago

@penso89 Is your issue solved? If so, please close.

ShayHaluba commented 6 years ago

@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.

lneninger commented 6 years ago

The same here ngx-datatable@11.1.7 and angular 5

BearandYoon commented 6 years ago

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?

hosseinGanjyar commented 6 years ago

hey guys.... Who found any solution? @ShayHaluba you found solution? thanks