Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
K2: Add horizontal scroll to List View
var $viewWithNewWidth = $('[name="your View Name"]');
$viewWithNewWidth.find('.grid-column-header-table').css('width', '1500px');//your desired width
$viewWithNewWidth.find('.grid-body-content-wrapper').css('width', '1500px'); // your desired width
$viewWithNewWidth.find('.grid-body').css('overflow-x', 'scroll');
$viewWithNewWidth.find('.grid-column-headers').css('background-color', 'transparent');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.