Skip to content

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

Description

@calderonsamuel

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions