Prevent moving between resources

Asked by Bogdan
11 years ago.

Hello,

How Can I prevent event moving between two resources?

Let's suppose that I have a resource id (1)

if (args.e.resource() == 1 && args.newResource == 1){
//do the moving
}

The problem is that args.e.resource() takes the resource id of the destination, so when I move the event into resource 1 it'll always work.

Comment posted by Bogdan
11 years ago.

Hello,

Thank you, that solved my question. Besides start, end, id, resource, text, toolTip, backColor, moveVDisabled, moveHDisabled what other properties I can set?

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