The docs for PortalLayout state that setting portalLayout.setPortletDropTypes("Portlet") should “disable auto-wrapping of other components”. That sounds like it could prevent a PortalLayout from acting as a drop target for records of a ListGrid (which is what I try to prevent).
However, if I take the WindowContentsSample from the Showcase and add
I am still able to drop records onto the PortalLayout which are then “wrapped” into a Portlet.
How can this be prevented?
Thanks,
fatzopilot
SmartClient Version: v8.3p_2013-09-25/PowerEdition Deployment (built 2013-09-25)
However, if I take the WindowContentsSample from the Showcase and add
Code:
portalLayout.setPortletDropTypes("Portlet"); … listGrid.setCanDragRecordsOut(true);
How can this be prevented?
Thanks,
fatzopilot
SmartClient Version: v8.3p_2013-09-25/PowerEdition Deployment (built 2013-09-25)
Comment