Closed dfmmalaw closed 7 months ago
I cannot access their stackblitz, can you make a stackblitz reproduction that I can have a look at?
Looking at their preview, it looks like the viewport is .wtHolder
and the content wrapper is .wtHider
, try the following
<ng-scrollbar externalViewport=".wtHolder" externalContentWrapper=".wtHider" asyncDetection>
<hot-table [hotId]="id" [settings]="hotSettings" licenseKey='non-commercial-and-evaluation'></hot-table>
</ng-scrollbar>
@MurhafSousli I tried your code, but it didn't work. It didn't render the hot-table.
https://stackblitz.com/edit/handsontable-angular?file=app%2Fapp.component.ts
@dfmmalaw You sent a reproduction with Angular 5, I need a proper reproduction with Angular 17
I reproduce it for you, here is the same code I posted above in a working stackblitz https://stackblitz.com/edit/stackblitz-starters-ehhvhk
In my opinion, Handsontable is not well implemented. it seems to use old techniques. but maybe you can work on overriding the table CSS to enhance the appearance.
Is there any way to use ngx-scrollbar with handsontable?
I tried like this
<ng-scrollbar externalViewport=".ht_master" externalContentWrapper=".wtHolder" asyncDetection> <hot-table [hotId]="id" [settings]="hotSettings" licenseKey='non-commercial-and-evaluation'> </hot-table> </ng-scrollbar>
But it's not working and hot-table has 0 px height. Please suggest how I can replace the scrollbar inside hot-table with ngx-scrollbar.
Thank you!