Usman Majied

Results 2 comments of Usman Majied

I found the solution to the issue. Just use rxjs delay operator in ngOnit to call ngx-datatable's recalculate function. I implemented this on a button click so when that toggle...

> Here's a hack I implemented in the component containing the datatable: > > ``` > this.cd.markForCheck(); > setTimeout(() => { > document.body.style.width = window.innerWidth - 1 + 'px'; >...