Knowledge Base Article

Horizontal Scroll Or Link Scroll On All Widgets In Dashboard

Here is a dashboard script that works for those pivot tables that have exactly the same structure. When you scroll one of them, all of them will reflect those scrolling changes.
dashboard.on('widgetready', (el, args) => {
    $('.p-mid', 'widget[widgetid=' + args.widget.oid + ']').scroll((scrollBar) => {
        $('.p-mid').each((_,pivot) => {
            pivot.scrollLeft = scrollBar.target.scrollLeft;
        });
    });
});
Updated 03-02-2023
No CommentsBe the first to comment