jQuery UI Widgets › Forums › Plugins › Validator, Drag & Drop, Sortable › show draggable element outside jqxPanel
This topic contains 4 replies, has 2 voices, and was last updated by Anthony Chan 6 years, 10 months ago.
July 4, 2016 at 4:38 pm show draggable element outside jqxPanel #85559
How can a draggable element be shown when dragging outside a scrollable jqxPanel?
See this example where the button when dragged is visible only inside the panel.
Hi Anthony Chan,
you need to set the “oveflow” property of the panel to “visible” in order to see the element while dragging it outside of it’s parent. Here is the solution you need applied to your code sample:
http://www.jqwidgets.comJuly 5, 2016 at 4:56 pm show draggable element outside jqxPanel #85575
Thanks, but this does not work. When you set overflow visible on the scrolling panel, it no longer displays correctly.
In my example, the height of the jqxPanel was set to 28. In your copy of it, you changed that to 280. Revert to 28 and you will see that outside the panel are the words “new row”, which should only be shown when the panel is scrolled.July 6, 2016 at 5:56 am show draggable element outside jqxPanel #85583
Hi Anthony Chan,
I understand you completely, but unfortunately it’s not possible to see the dragged object outside if it’s parent. There are two ways to do it:
1) Change the height of the jqxPanel so the elements are visually in it and use “overflow:visible” to see the elements when they are being dragged outside of the parent(the jqxPanel).
2) Create the draggable object outside of the jqxPanel so they are not limited to the jqxPanel view.
http://www.jqwidgets.comJuly 6, 2016 at 3:33 pm show draggable element outside jqxPanel #85584
OK, so what I asked cannot be done.
However, I think the request is reasonable and should be supported in future, thanks.
You must be logged in to reply to this topic.