question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No data to display when [rowHeight]="'auto'" and [scrollbarV]="true"

See original GitHub issue

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 With [rowHeight]=“‘auto’” [scrollbarV]=“true”, the table displays “No data to display”

Expected behavior It should display the table with the data with fluid row height and vertical scroll.

Reproduction of the problem Reproducible 100% of the times.

Please tell us about your environment: Mac, Atom, Angular 5

  • Table version: 0.8.x 11.1.7

  • Angular version: 2.0.x 5.2.3

  • 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 ] Chrome

  • Language: [all | TypeScript X.X | ES6/7 | ES5] Typescript 2.4.2

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:12
  • Comments:5

github_iconTop GitHub Comments

1reaction
siba1985commented, Oct 16, 2020

hi bleuscyther overflow-y:visible is ok but my case, [rowHeight]=“‘auto’” i am using every row inside column contains more means word-wrap.

[scrollbarV]=“true” i am using header fixed and pagination show in top so overflow-y:visible is not required, below is my ngx-datatable example, Dear bleuscyther can you tell me in this case how to use [rowHeight]=“‘auto’” [scrollbarV]=“true”

<ngx-datatable class=“material striped” style=“height: 340px; " [rows]=“myData” [columnMode]=”‘force’" [headerHeight]=“50” [scrollbarH]=“true” [footerHeight]=“50” [rowHeight]=“40” [scrollbarV]=“true” [sorts]=“[{prop: ‘name’, dir: ‘desc’}]”>

1reaction
CaffGeekcommented, Mar 7, 2018

Even a number is breaking it for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ngx datatable vertical scroll with rowheight set to auto
I was wondering if it is possible to use vertical scrolling together with automatic row height. This means that if the text insde...
Read more >
How to set max row height with scrollbar? — DataTables forums
Hi all, I can't figure out how to set max height of row height in DT and with a scrollbar when text is...
Read more >
ASP.NET MVC Data Grid Component Height - Documentation
By default, the Grid has no set height and expands to fit all table rows. Getting Started. Set the height to the Grid...
Read more >
Row Height - Angular Data Grid
You cannot use variable row height when using Viewport Row Model. This is because this row model needs to work out the position...
Read more >
grid-template-rows - CSS: Cascading Style Sheets | MDN
Is a keyword meaning that there is no explicit grid. Any rows will be implicitly generated and their size will be determined by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found