Hi John,
Thanks for contacting Syncfusion Support...!
On a button click event we have called the goTo
method and the cell selection has been navigating to the provided address as
expected and no issue has been found as mentioned. Attached sample for
reference.
CODE BLOCK:
|
<button class="e-btn" id="apply-button"> GoTo Cell </button>
document.getElementById("apply-button").onclick = () => {
// To navigate to a cell address within a workbook.
spreadsheet.goTo('C1');
// You can navigate to a specific cell address by specifying the sheet name as well as the cell address.
// spreadsheet.goTo('Sheet2!B1');
};
|
Stackblitz Sample: https://stackblitz.com/edit/8klg9d-blmg9j?file=index.ts
API Link: https://helpej2.syncfusion.com/documentation/api/spreadsheet/#goto
Please check the above sample and share the below requested
details to proceed further.
- Exactly at what scenario you have been facing the
issue. Share those details.
- Whether you have been trying to use the goTo method on
initial rendering or performing any actions in spreadsheet.
- Share the video demonstration of the issue for better
clarification.
- If possible, share the spreadsheet rendering snippets
for further validation (or) replicate the issue on the above attached
sample and share it back to us.
Note: We suggest you
use the latest version to avail the latest fixes and features of our
spreadsheet component.
Get back to us for further clarifications.