search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

adding additional attributes to a resource ?

Asked by Daniel
10 years ago.

Hi!

I want to add f.a. "resourcetype" to a resource.

And then, i want to read this attribute when the user drop an event, f.a. in the method "onEventMove".

Is this possible?

THANKS!!!
Daniel

Comment posted by Dan Letecky [DayPilot]
10 years ago.

I will need to check this because the objects supplied in .resources array are not used directly, they are transformed to rows.

Comment posted by Daniel
10 years ago.

Hey Dan,... is this possible now?

In this context: What about this feature?! --> When the user drag (!) an event, automatic highlighting the resources with f.a. "resourceType=XY" ?? Would be very comfortable....!

Thanks,
Daniel

Comment posted by Dan Letecky [DayPilot]
10 years ago.

> Hey Dan,... is this possible now?

Not yet.

> In this context: What about this feature?! --> When the user drag (!) an event, automatic highlighting the resources with f.a. "resourceType=XY" ?? Would be very comfortable....!

You can display your own real-time messages during event moving since version 7.7. SP3:

http://api.daypilot.org/daypilot-scheduler-oneventmoving/

As soon as the resource attributes are implemented you will be able use this event to highlight the resources.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.