We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Jump To Specified Event

Thread ID:





149130 Nov 15,2019 11:13 AM UTC Nov 29,2019 05:08 AM UTC Angular - EJ 2 5
Tags: Schedule
mehmet yanbak
Asked On November 15, 2019 11:13 AM UTC


I want to focus (with scroll) to intended event. How can I achieve  this ? Please find attached a sample image.

Attachment: img_d4a386db.rar

Vinitha Devi Murugan [Syncfusion]
Replied On November 18, 2019 11:39 AM UTC

Hi mehmet, 
Syncfusion Greetings. 
We have prepared the sample below based on your requirement. Please refer to it. 
  public btnClick(): void { 
    let len = document.querySelectorAll('.e-appointment').length; 
    for (let i = 0; i < len; i++) { 
      let event = document.querySelectorAll('.e-appointment')[i] as any; 
      if (event.getAttribute("aria-label") === "Testing Event") { // The scroller will adjust based on the given event name "Testing Event" 
        document.querySelector('.e-content-wrap').scrollTop = event.offsetTop; 
        document.querySelector('.e-content-wrap').scrollLeft = event.offsetLeft; 
M.Vinitha devi 

mehmet yanbak
Replied On November 19, 2019 08:33 AM UTC


It works if the project that the event is in expanded. But my all project is collapsed. Firstly I need to expand project of selected event and then I need to focus event when I click to button. How can I achieve this ?

Hareesh Balasubramanian [Syncfusion]
Replied On November 20, 2019 01:38 PM UTC

Hi Mehmet, 

Thanks for your update. 

We have modified our previously updated sample based on your requirement. When the button is clicked, then the required resource will be expand and the scroller position will be adjust automatically based on the target event present in that resource. And the same can be viewed from the following link, 

Kindly try the above sample, if you have any concerns please revert us back for further assistance. 


mehmet yanbak
Replied On November 28, 2019 10:54 AM UTC


It works, thank you :)

Vinitha Devi Murugan [Syncfusion]
Replied On November 29, 2019 05:08 AM UTC

Hi Mehmet, 
You are most welcome 😊 
M.Vinitha devi 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon