You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix selection bugs in backend modes and clean up server interface
Selection fixes:
- Fix isAllRowsSelected reporting true when only current page rows are
selected in backend modes by checking against serverRowCount
- Fix deselect-all overwriting all selections instead of only removing
filtered rows, using Set-based merge/remove logic
- Add toggleAllInProgressRef guard against concurrent async
toggleAllRowsSelected calls from checkbox onChange+onClick bubbling
- Fix .selection column included in DuckDB-WASM global search SQL by
adding searchable=FALSE to its colDef
- Fix defaultSelected highlighting wrong rows when defaultSorted reorders
pre-rendered data by including __state in pre-rendered first page
- Fix data prop type warning for __state (object of arrays, not array)
Server interface cleanup:
- Remove unused selectedRowIds param from all backend signatures and
server data fetch
- Add shared virtual column constants (selectionColumnId, detailsColumnId,
virtualColumnIds) in R/utils.R
- Use constants in reactable.R and backend-duckdb.R
Tests and test docs:
- Add JS tests for isAllRowsSelected, search exclusion, defaultSelected
with __state, deselect-all filtered, select-all queries, sort/filter
persistence
- Add DuckDB and V8 selection test Rmd files with Shiny examples
including updateReactable action buttons
0 commit comments