Hi,
i want to filter the resources when the user drags an Event. But in the Moment when the resource-list is filterd, i cant move the Event and the console says "TypeError: DayPilotScheduler.moving.event is null".
dp.onEventMoving = function(args) {
args.left.enabled = true;
args.left.html = args.row.name;
args.right.enabled = false;
DayPilot.request("backend_einheitarten.php?id=" + id, function(result) {
var data = eval("(" + result.responseText + ")");
filterIds = data;
//resourcen-liste filtern
dp.rows.filter(filterIds);
});
};