SmartClient Version: v9.1p_2015-09-16/Pro Development Only (built 2015-09-16)
Any supported browser (any version?), i.e., Google Chrome
I have two portlets in a PortalLayout. I would like to prevent any portlets from dropping before Portlet #1. I want Portlet #1 to always be at the first index. Using Portlet's "canDropBefore" prevented the drop line from showing but Portlet #2 is still able to drop over it even without the drop line. Would this be a bug with canDropBefore or am I missing something?
Any supported browser (any version?), i.e., Google Chrome
I have two portlets in a PortalLayout. I would like to prevent any portlets from dropping before Portlet #1. I want Portlet #1 to always be at the first index. Using Portlet's "canDropBefore" prevented the drop line from showing but Portlet #2 is still able to drop over it even without the drop line. Would this be a bug with canDropBefore or am I missing something?
Code:
isc.PortalLayout.create({ canAcceptDrop: true, portlets: [ isc.Portlet.create({ title: "Portlet 1", canAcceptDrop: false, canDrop: false, canDropBefore: false, canDragReposition: false, items: [ isc.Canvas.create({ backgroundColor: "blue" }) ] }), isc.Portlet.create({title: "Portlet 2"}) ] });
Comment