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

Disable Row(resource)

Asked by DPuser
5 years ago.

Is there a daypilot property to prevent row(resources) from accepting events?
like dp.treePreventParentUsage, i want certain child rows to be prevented from usage.

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

In DayPilot Pro you can use onEventMoving and onTimeRangeSelecting events to evaluate custom rules during drag and drop and forbid the action depending on the result:

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

Disabling a row using its properties is not implemented at the moment.

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