Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollable DataTable fails with percentage height and header #1222

Closed
cagataycivici opened this issue Nov 7, 2016 · 0 comments
Closed

Scrollable DataTable fails with percentage height and header #1222

cagataycivici opened this issue Nov 7, 2016 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@cagataycivici
Copy link
Member

If a scrollable datatable does not define a header but uses percentage scroll height, a javascript error is thrown.

:64580/app/services/exception.service.js:38 TypeError: Cannot read property 'offsetHeight' of null
at DomHandler.getOuterHeight (http://localhost:64580/scripts/lib/primeng/components/dom/domhandler.js:219:24)
at DataTable.refreshScrolling (http://localhost:64580/scripts/lib/primeng/components/datatable/datatable.js:870:52)
at DataTable.ngAfterViewChecked (http://localhost:64580/scripts/lib/primeng/components/datatable/datatable.js:203:22)
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 7, 2016
@cagataycivici cagataycivici added this to the 1.0.0-RC4 milestone Nov 7, 2016
@cagataycivici cagataycivici self-assigned this Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

1 participant