question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue when mixing row groups and horizontal scroll

See original GitHub issue

I’m submitting a … (check one with “x”)

[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

If you have row grouping and horizontal scrollbar enabled at the same time, it generates an infinite scrolling, adding blank space to the right.

Expected behavior

The table should scroll only the actual width

Reproduction of the problem

http://plnkr.co/edit/QpQthGIGIreYTZOH42Tn

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

I want to group the rows, and also be able to scroll horizontally

Please tell us about your environment:

Debian 8, VS Code, Angular CLI

  • Table version: 10.3.0 on my pc, 11.1.3 on the plunkr
  • Angular version: 4.2.4
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome 62, Firefox 52
  • Language: [all | TypeScript X.X | ES6/7 | ES5] TS 2.5.3

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:11

github_iconTop GitHub Comments

1reaction
unstephenkcommented, Dec 1, 2017

ok. I am busy as well. I will leave it like this until I get a chance to look at it.

0reactions
edugal-parklandcommented, Nov 23, 2022

I’m having the same issue with grouping and scrollx: true. After several tries, i found out this solution :

Use the .wrap tag in jquery to append a div with overflow-x: scroll to your table in the InitComplete function

var tableSettings = {
            dom: "Blfrtip",
            ... (All other settings)
            initComplete: function () {
                $('#productRefundCostTable').wrap('<div style="overflow-x: scroll;">');
            }
        };
Read more comments on GitHub >

github_iconTop Results From Across the Web

Horizontal scrolling issue - HTML & CSS - SitePoint Forums
You use BootStrap, and the horizontal scroll seems to be caused by the grid syatem BS use. The cause is the rows have...
Read more >
HTML table with horizontal scrolling (first column fixed)
For my case there are many rows so scrolling vertically will only scroll the row data but not the row header fixed in...
Read more >
Vertical and Horizontal Scrolling in a SectionList/FlatList
In the mobile app the home screen allows you to scroll both vertically (across different groups) and horizontally (within a group).
Read more >
overflow-x - CSS: Cascading Style Sheets - MDN Web Docs
Content is clipped if necessary to fit horizontally in the padding box. Browsers display scrollbars whether or not any content is actually ...
Read more >
Horizontal scrolling - Blazor DataGrid Demos - Telerik
1 Chai Beverages 18.00 39 10 boxes x 20 bags False 2 Chang Beverages 19.00 17 24 ‑ 12 oz bottles False 3 Aniseed Syrup...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found