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

Set Focus on Y-Axis

Asked by Pavit
12 years ago.

Though there is and option for setting focus on x-axis according to date time(using SetScrollX) but how can one set focus on y-axis according to resources(like wise shifting the scroll to Markhopkins,Adrian in our case).

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

On the server side, you can use ScrollY property. You will be able to calculate the resource Y if you know how many overlapping events are there in every row. If it's just one, it's not that hard.

In other cases, you can call scrollToResource(id) on the client side. It will find the resource by its id and scroll it to the top.

It was introduced in 7.1 release:
http://www.daypilot.org/daypilot-pro-for-asp-net-webforms-7-1.html

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