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

ngx-perfect-scrollbar or ngx-malihu-scrollbar implementation only for ngx-datatable-body tag #1712

Open Muzaeed opened 5 years ago

Muzaeed commented 5 years ago

I'm submitting a ... (check one with "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

I want to customize the [scrollbarH] option with [perfectScrollbar] or malihu-scrollbar, Study case:

  1. ngx-datatable - scrollbar is coming properly, where as footer is getting inside the scroll-content. EX: <ngx-datatable malihu-scrollbar [scrollbarOptions]="scrollbarOptions" >

image

  1. ngx-datatable-body - scrollbar is coming with no content ..... ..... ....

image

Expected behavior

I need this same scrollbar should be implemented for just header & body section of ngx-datatable.

Reproduction of the problem

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

I want to customize the horizontal scrollbar by using the third party library like ngx-malihu-scrollbar. For ngx-datatable the scrollbar looks awesome & perfect. For ngx-datatable-body the scrollbar is coming up but no data is displaying.

Can you please let me know how to implement the scrollbar only for ngx-datatable-body?

Please tell us about your environment:

windows-10

maciej-laskowski commented 4 years ago

Hi guys, any plans to support some nicer scroll bars on ngx-datatable?