We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
**I'm submitting a
[X ] bug report => Search github for a similar issue or PR before submitting
Current behavior
When doing a resize column option expand within a scrollable table , the resize breaks the scrolling and the table does not scroll no more
Expected behavior
The problem in my opinion is related to this code
else if(this.columnResizeMode === 'expand')..... if(this.scrollable) { this.scrollBarWidth = this.scrollBarWidth||this.domHandler.calculateScrollbarWidth(); this.el.nativeElement.children[0].style.width = parseFloat(containerWidth) + this.scrollBarWidth + 'px'; let colGroup = this.domHandler.findSingle(this.el.nativeElement, 'colgroup.ui-datatable-scrollable-colgroup'); let resizeColumnIndex = this.domHandler.index(this.resizeColumn); colGroup.children[resizeColumnIndex].style.width = newColumnWidth + 'px'; }
Solution
Omit this line and it will work
// this.el.nativeElement.children[0].style.width = parseFloat(containerWidth) + this.scrollBarWidth + 'px';
this line is overwriting the scrollWidth breaking the scrollable
The text was updated successfully, but these errors were encountered:
#1551
Sorry, something went wrong.
Same issue, but to add once resized the column headers and the column cells no longer line up.
Duplicate of 1551
No branches or pull requests
**I'm submitting a
Current behavior
When doing a resize column option expand within a scrollable table , the resize breaks the scrolling and the table does not scroll no more
Expected behavior
The problem in my opinion is related to this code
Solution
Omit this line and it will work
this line is overwriting the scrollWidth breaking the scrollable
The text was updated successfully, but these errors were encountered: