cancel
Showing results for 
Search instead for 
Did you mean: 

DRAG AND DROP ISSUE (drop is not hapening after binding items to list) ?

Former Member
0 Kudos

Hi Experts,

          I am able to drag and drop elements into the list until I am not binded any data to droppable list. after binding dropped list item. iam not able to

drop further.. helps are highly appreciated.....

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

                 Actually No.But  I Just made dynamic creating element.that again and again when each drop triggers(So it was working fine). That is not the best solution for this issue.

vered_constantin
Explorer
0 Kudos

Hello jithin,

I would like to make sure I understand.

You are using sap.m.List, then make binding by clicking on one of its items (e.g. sap.m.StandardListItem) and click on "set as template" so it would become the template for this list.

Then you are trying to drop onto this already bound list?

This will not work since you already have a template for this list and it cannot contain more controls in it.

If you have a different scenario then I described or you need further help please contact.

Thanks,

Vered

mantrishekar
Active Participant
0 Kudos

Hello Jithin,

Did you solved your issue.

If so please share the code.I am also facing the same issue wjere in for the list data is binding for only once for second time drag list is not binding

former_member185414
Active Contributor
0 Kudos

Hi Mantri,

Your question is not clear. Please elaborate as in what is the requirement and which environment you are using for development.

BR.

mantrishekar
Active Participant
0 Kudos

Hello Ankit,

I have sap.ui.table.treetable and a sap.m.List.Now i want to drag elements from tree table and put it in sap.m.list using drag and drop.

vered_constantin
Explorer
0 Kudos

Hello Mantri,

The control sap.ui.table.treetable is not fully supported in the Layout Editor.

It means you might experience issues like you are describing. You are able to see it but cannot drag elements from it into another container.

In general, UI5 controls that are not shown in the palette/can be added from the Layout Editor outline may have the same issues.

You should be able to drag supported controls to sap.m.List such as sap.m.StandardListItem

Hope it helps,

BR

Vered