-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, I set PortalLayout.setDraggable("false"); but doesn't work. It does not work either on PortalChildren and Panel. Anybody have some suggestions?
Thanks
here an example disabling draggable for some of the panels inside a portallayout:
http://zkfiddle.org/sample/v1mecs/1-non-draggable-panels-in-portallayout
maybe that's what you were looking for
Thank you cor3000 for your replay. You're in right. I'm would like make the component (Portallayout, Portalchildren, Panel, Panelchildren) not draggable and not droppable. My page have this hierarchy : Portallayout > Portalchildren > Panel > Panelchildren. I set all properties into Java class by this statement: .setDraggable("false"); .setDroppable("false"); I put it after each component creation but it doesn't work at any. What do I wrong? Thanks
here an updated example using java... http://zkfiddle.org/sample/v1mecs/2-non-draggable-panels-in-portallayout
if you could share some runnable code I might be able to tell what's going wrong with it.
maybe my example already points you in the right direction
Asked: 2018-04-03 23:47:37 +0800
Seen: 11 times
Last updated: Apr 10 '18
How to stop combining commands in an ajax call ?
zk developmet is esay [closed]
Need help with scrolling horizontal tabs in Right-to-Left (Arabic)
Create tab dynamically, multitab application
Radio button value change on database value
How to implement, each user has its own session timeout time
can you elaborate on the desired result? what doesn't work... to me it looks like you are trying to disable dragging of the whole portal layout component... so it should not be draggable in the end (which it shouldn't be by default). This setting doesn't affect the panels inside the layout.
cor3000 ( 2018-04-10 15:12:24 +0800 )edit