cancel
Showing results for 
Search instead for 
Did you mean: 

Drag & Drop from a list to the Planning Calendar

verreydthans
Participant
0 Kudos

Hi,

Is it possible to use drag & drop from a sap.m.List, to the sap.m.PlanningCalendar?

In the SAPUI5 samples, is an example of how we can use drag and drop whitin the PlanningCalendar, but I want to use list objects, as a starting point for this.

I was trying this with the new dragDropConfig functionality, but without any success

<dragDropConfig>

<dnd:DragDropInfo sourceAggregation="items" targetElement="PC1" targetAggregation="appointments" dropPosition="On" drop="onDrop"/>

</dragDropConfig>

It seems that the targetAggregation isn't correct and the drop functionality isn't accesible.

Anyone a suggestion?


Thx!


Regards,
Hans

mauro_cattaneo
Explorer
0 Kudos

Hi,

did you find a solution to this problem?

Thanks

Mauro

View Entire Topic
FiratAsan
Active Participant
0 Kudos

Hello hans.verreydt and whatisthis

I had a same problem. Taget element should be table name. In your example :

I think your Planning Calendar id is PC1, target elemet should be PC1-Table, change it.

targetElement="PC1-Table"

But i cant solve that, drop them to specific cells, its dropping to only rows.

my problem is hier;
https://answers.sap.com/questions/14006473/is-it-possible-drag-from-a-table-and-drop-to-plann.html