rshinyshinydashboarddt

Datatable paging not working in shinydashboard


When using shinydashboard library it seems to override the datatable (DT) css so that datatable paging and search boxes are not available, even

options = list(paging = TRUE) 

does not render paged tables as it should.

Do you have any ideas what is going on?


Solution

  • It should work with shinydashboard. Have you included the argument dom in your call to datatable:

    DT::datatable(mydf, options=list(dom='ftp')))
    

    f for filtering, t for the table, p for paging.