angular-gridster2 icon indicating copy to clipboard operation
angular-gridster2 copied to clipboard

Block scroll according to the number of columns

Open LudwigEberstein opened this issue 6 years ago • 3 comments

Hey all, I am using gridster2 in my project and I am facing an issue. I displayed a grid, with maximum one column, vertically fixed, where the user can drag and drop to move up and down items. All is working properly but for now, the users can horizontally scroll the grid, it’s not blocking because the grid is blocked to one column, but it’s not really sexy and disturbed a bit the users. Did I miss something to achieve this with an option already included?

LudwigEberstein avatar Aug 06 '18 09:08 LudwigEberstein

I don't think you've missed anything. Sadly there does not seem to be any setting currently that prevents this behavior.

CollinGraf314 avatar Aug 06 '18 15:08 CollinGraf314

Problem not fixed in 9.3.3. Is there any option or workaround?

CedricBojoly avatar Sep 24 '20 11:09 CedricBojoly

you should use this in grid options

disableScrollHorizontal: true, setGridSize: true,

Mersal-Mohamed2 avatar Aug 10 '22 07:08 Mersal-Mohamed2