This is a migrated thread and some comments may be shown as answers.

scroll into view after rangechanged

2 Answers 22 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
ELIAS
Top achievements
Rank 2
ELIAS asked on 01 Oct 2018, 03:02 PM

Hi,

I would like to scroll into view on a specific appointment having a start date not in the visible range.

My problem is that the range is correctly changed but the view is not scolled into this appointment.

I perform this action from a command where I reload the itemsource, then set the current date to the appointment start date and finally use : scheduler.ScrollIntoView(this.SelectedAppointment);

Do you have a suggestion on how to make this work?

Best Regards.

 

 

2 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 04 Oct 2018, 12:50 PM
Hello Elias,

I tested the described scenario on my end, however I was not able to reproduce it. I am attaching the sample project which I used for testing.

May I ask you to check it out and see how it differs from the setup at your end? Should you need any further assistance may I ask you to modify the attached project in order to represent your scenario and send it back in a new support ticket. This way I will be able to further investigate. 

I am looking forward to your reply.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Иван
Top achievements
Rank 1
answered on 28 Nov 2018, 05:44 AM

I had similar behavior. As i remember it is appeared in case you change MinTimeRulerExtent or VisibleDays in runtime.

ScrollIntoView() works correct until you change values of those properties.  

I have solved my problem by calculation on the fly proper value for FirstVisibleTime.

Tags
ScheduleView
Asked by
ELIAS
Top achievements
Rank 2
Answers by
Vladimir Stoyanov
Telerik team
Иван
Top achievements
Rank 1
Share this question
or