SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

A grid with only fixed columns displays no vertical scrollbar

Open sereneongyy opened this issue 4 years ago • 1 comments

We have encountered an issue that when a grid has been configured to display only fixed columns, no vertical scrollbar is displayed. With the mousewheel, scrolling still occurs, but there is no vertical scrollbar displayed to indicate to the user that there are more records. Is this per design so?

This can be replicated in the example: https://6pac.github.io/SlickGrid/examples/example-frozen-columns-and-rows.html verticalScrollbar

sereneongyy avatar Jan 31 '22 07:01 sereneongyy

you're passing a frozen column index that is way outside the viewport, there's probably no logic to detect that kind of problem, so yeah the scroll is in the hidden part. The only logic we had added to make sure we're not expanding a column wider than the viewport was this PR #607

You're welcome to contribute a fix

ghiscoding avatar Jan 31 '22 13:01 ghiscoding

closed by PR #773, we will now throw an error when freezing columns are wider than the canvas width. I don't think we can support this in any way because that would probably require a dual scroll, so throwing an error seems like the best we could do.

Also note this will be released in the upcoming Roadmap to v4.0

ghiscoding avatar May 13 '23 17:05 ghiscoding