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
close icon

Scroll to a cell

Is there a way to scroll to a cell in spreadsheet? The use case is that we want to focus a specific cell of the spreadsheet on an external event.


1 Reply

SP Sangeetha Priya Murugan Syncfusion Team March 29, 2023 10:48 AM UTC

Hi Majid,


Your requirement can be achievable by using goTo method as like as below.


Code Block:


 

 function navigateCell() {

    spreadsheet.goTo('B100:B105'); // pass the range to navigate the cell

  }

 


For your convenience, we have prepared the sample based on our suggestion in a button click event. Please find the link below.


Sample Link: https://stackblitz.com/edit/react-vkcq3e?file=index.js


API Link: https://ej2.syncfusion.com/react/documentation/api/spreadsheet/#goto


Loader.
Live Chat Icon For mobile
Up arrow icon