Search
Overview
Press Ctrl+F to open the search bar. rs-grid searches all visible cells for the query (case-insensitive contains match) and highlights matching cells.
Commands
Example
SearchState
How it works
SearchState::run() scans the grid:
- Iterates rows (up to 100,000 rows)
- For each row, checks every column
- Case-insensitive
containsmatch on the cell value - Collects up to 10,000 matches
Rendering
The scene builder uses two theme colors for search results:
Limitations
- Client-side only — in
ServerSidemode,Searchreturns no results (there's too much data to scan locally) - Max 100,000 rows scanned — to avoid stalling the main thread
- Max 10,000 matches — additional matches are not collected
- Search does not work on formatted output — it matches the raw cell value