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

Drag and Drop Indicators with Informations about a Resource

Asked by Daniel
5 years ago.

Hi Dan!

I am dragging Events only vertically. The Real-Time Drag and Drop Indicators with the DATE is not a good Information in this case.

I want to Show the Name of a resource. resource "id" is possible, but i want to Show another property of the resources.

thanks
daniel

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

It's possible to customize the inline detail boxes using onEventMoving event handler:

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

Comment posted by Daniel
5 years ago.

Thanks. I know that.

but it is only possible to read "args.resource - resource id (string)".

I Need the "resource Name" of the args-object !?

Answer posted by Dan Letecky [DayPilot]
5 years ago.

The latest build (8.0.1571) now stores the row information in a DayPilot.Row object accessible as args.row:

http://javascript.daypilot.org/sandbox/

In previous releases you can get the row object using rows.find(id):

http://api.daypilot.org/daypilot-scheduler-rows-find/

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