cancel
Showing results for 
Search instead for 
Did you mean: 

Horizontal scroll on Table Widget

Astroraf
10 - ETL
10 - ETL

Hello, 

I am working with a client's dashboard and trying to get a horizontal scroll bar to appear on a table widget. I have tried this code:

dashboard.on('widgetready', (el, args) => {
    $('.p-mid', 'widget[widgetid=' + args.widget.oid + ']').scroll((scrollBar) => {
        $('.p-mid').each((_,pivot) => {
            pivot.scrollLeft = scrollBar.target.scrollLeft;
        });
    });
});

but to no avail. Does anyone have any solution to this?

1 ACCEPTED SOLUTION

Astroraf
10 - ETL
10 - ETL

Solution is to make sure column with is selected to Manual and not Automatic

View solution in original post

2 REPLIES 2

DRay
Community Team Member
Community Team Member

Hi @Astroraf,

Thank you for reaching out.

I haven't been able to find any other code for that, so I'm going to reach out internally to try and get an answer.

 

David Raynor (DRay)

Astroraf
10 - ETL
10 - ETL

Solution is to make sure column with is selected to Manual and not Automatic