Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80923

Scroll container in listview?

$
0
0

Newbie question:

In my application there is a page where users drag objects from a listview on the right and drop it on another listview on the left. This page has a Navigation layout with a scroll container at top level. 

The issue is that the listview with the draggable widget can get quite long, whereas the listview with the droppable widget is empty by default. This means that users sometimes have to scroll all the way down to find the object they wish to drag, and then scroll all the way back up while holding the mouse button to find the droppable widget. This is not a very good user experience, of course.

Ideally, I'd like to make the listview with the draggable widget scrollable. This way, user could scroll through the listview to find the object they're looking for and drag it to the droppable widget which would then be at more or less the same height.

When I add a scroll container to the layout grid column of the page, I get an error that my scroll container has the draggable widget as a sibling (and that it should be either top-level or inside another scroll container). Next I tried to make a NavigationLayout with a scroll container at top level, and a second scroll container in a layout grid column but I am encountering the same error.

As a newbie, that leaves me pretty much stuck... 

Any suggestions on how to accomplish a scroll container inside a the column of a layout grid? Alternative solutions/workarounds?


Viewing all articles
Browse latest Browse all 80923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>