Fiori drag and drop элементы - PullRequest
       22

Fiori drag and drop элементы

0 голосов
/ 16 апреля 2020

Может кто-нибудь помочь мне, пожалуйста?

Я использую SAP Fiori (SAPUI5 1.6.25) и мне нужно перетаскивать элементы (sap.m.label, sap.m.button, ... ).

То, что я пытался до сих пор безуспешно:

xmlns:dnd="sap.ui.core.dnd"
...
<VBox id="vbox1">
    <dragDropConfig>
        <dnd:DragDropInfo sourceAggregation="items" targetElement="vbox2"/>
    </dragDropConfig>
    <items>
        <Button text="Button1"/>
    </items>
</VBox>
<VBox id="vbox2">
    <items>
        <Button text="Button2"/>
    </items>
</VBox>
...