AJAX Calendar/Scheduling Controls
Hi,
We have to set the focus for Y Axis in Day Scheduler according to date and resouce.
Second issue is how we can set the margin of Event Movement and Drag event. Example: when we try to drag any job to increase it for left hand side need to move the cursor 50% to make it while in right it done with pixel movement.
Focus
1. You can set the vertical scroll position using ScrollY property on the server side (don't forget to call Update() then). However, this works with pixels so it might be difficult to calculate if you are showing concurrent events in some of the rows (the row height doesn't correspond to event height).
2. You can highlight the row header by using custom background color in BeforeResHeaderRender.
Example:
protected void DayPilotScheduler1_BeforeResHeaderRender(object sender, DayPilot.Web.Ui.Events.BeforeHeaderRenderEventArgs e) { if (!e.IsCorner && e.Value == "ROWID1") { e.BackgroundColor = "red"; } }
DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java