Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sorting a server side rendered table only works for current page #58

Open
1 task done
calderonsamuel opened this issue Jun 10, 2024 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@calderonsamuel
Copy link

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Project Version

0.2.0

Platform and OS Version

Trien in windows and linux

Existing Issues

No response

What happened?

While sorting a server side rendered table I noticed that it only sorts for the current page shown in the browser

Steps to reproduce

library(shiny)
library(reactable)
library(reactable.extras)


ui <- fluidPage(
  reactable_extras_ui("test")
)
  

server <- function(input, output, server) {
  reactable_extras_server(
    "test",
    data = iris,
    total_pages = ceiling(nrow(iris)/10)
  )
}

shinyApp(ui, server)
  1. Run code snippet
  2. Sort on any column
    ...

Expected behavior

The table should be sorted based on the whole content of the column

Attachments

No response

Screenshots or Videos

Grabacion.2024-06-10.113905.mp4

Additional Information

No response

@calderonsamuel calderonsamuel added the bug Something isn't working label Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant