This sample demonstrates how to implement workbook-wide search and navigation in the Syncfusion React Spreadsheet component using the findAll and goTo APIs.
- Search for text across all worksheets in a workbook.
- Display all matching occurrences with worksheet and cell references.
- Navigate directly to the selected worksheet and cell with a single click.
- Provide a user-friendly search panel for reviewing search results.
- Improve navigation and data discovery in large workbooks.
- Load an Excel workbook into the Syncfusion React Spreadsheet component.
- Use the
findAllAPI with the Workbook search scope to retrieve matching records across all worksheets. - Display the returned results in a custom search panel.
- Use the
goToAPI to navigate directly to the selected worksheet and cell. - Clear search results and reset the search panel when needed.
findAll()- Searches for matching values across all worksheets in the workbook.goTo()- Activates the specified worksheet and navigates to the target cell.open()- Loads an Excel workbook into the Spreadsheet component.
npm installnpm run devAfter the application starts, open the URL displayed in the terminal in your browser.
- Searching data across multiple worksheets.
- Quickly locating records in large workbooks.
- Building custom workbook search and navigation experiences.
- Enhancing productivity and accessibility for spreadsheet users.
- Live Demo: cell-navigation
- Documentation: Find and Replace in React Spreadsheet