How we can set the Y axis focus for given date and resoucce in Day Pilot Scheduler
Asked by Vijai Prakash Maurya 14 years ago.
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.
Answer posted by Dan Letecky [DayPilot] 14 years ago.
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.