Dragstyle(automatic) and expanding list

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
kno_dk
Posts: 103
Joined: Tue Feb 23, 2016 12:00 am

Dragstyle(automatic) and expanding list

Post by kno_dk » Mon Apr 11, 2016 9:42 pm

Hi

I want to make a webpage application with 2 list. one with groups and the other should be a tree of groups. I want to drag groups from the left list to somewhere in the tree structure in the right list.And I also want to drag a group from somewhere in the tree to another place in the tree. I have made a copy of your exsample of dragandDrop. If I put dragstyle(automatic) on the Right list (the one with a tree structure) I am not able to expand the list.

Could you make an exsample of how to do this or is not possible to have both drag and expanding on the same list?

/klaus

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Dragstyle(automatic) and expanding list

Post by Stewart Marshall » Tue Apr 12, 2016 10:18 am

Hi Klaus

I'm not sure I understand.

What does "I am not able to expand the list" mean?
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

kno_dk
Posts: 103
Joined: Tue Feb 23, 2016 12:00 am

Re: Dragstyle(automatic) and expanding list

Post by kno_dk » Tue Apr 12, 2016 4:10 pm

Hi.
It is the event ItemExpanding on the list which is not working when you have dragstyle(automatic). I have debuged the webpage and it is not comming into the evtroutine handling(#Right.Itemexpanding)

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Dragstyle(automatic) and expanding list

Post by Stewart Marshall » Tue Apr 12, 2016 11:00 pm

This sounds like a bug to me.

Best course of action is to direct this to your regional help desk.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

kno_dk
Posts: 103
Joined: Tue Feb 23, 2016 12:00 am

Re: Dragstyle(automatic) and expanding list

Post by kno_dk » Wed Apr 13, 2016 9:23 pm

Hi Stewart

I have now tried for the last few days to get my program working - with no luck.

I have attached an image how my program look like (i have f.... up the program now so nothing is working therefor no source). I have used the draganddrop sample and the tree sample.
DragAndDrop.png
DragAndDrop.png (40.94 KiB) Viewed 2588 times
I want to :
move groups (1) to the tree (2)
move entry inside the tree(2)
delete an entry by using the image (3)

Could you make a sample of how this could work?

Thanks in advance.

/klaus

User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Dragstyle(automatic) and expanding list

Post by Stewart Marshall » Thu Apr 14, 2016 11:49 am

Hi Klaus

If changing the DragStyle property of the list stops an item expanding, I have no doubt that you've found something we need to fix.

However, LANSA cannot accept bug reports posted to the forums.

Could you please send the issue to your regional help desk.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au

Post Reply