[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Schedule Component DnD without collision  XML
Forum Index -> Development
Author Message
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 750
Offline

Hi,

is there an "easy" way to avoid intersection of elements? In my case the user has the possibility to move his schedules by DnD?

Markus
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5542
Offline

Hi,

currently the user interface allows to put the new schedule everywhere - and then your application logic on backend side must tell "please do no overlay...".

...backend logic needs to be involved...

Regards, Björn

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 750
Offline

ok, no easy way

I thought of an existing method of BaseActionEventDrop.getPercentageVerticalAsFloat() where I get the Info that theres already another component on this UIComponent
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5542
Offline

This IS the easy way! ;-)

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team