1

I try to use the extension searchPanes of the library DT with R. I use the code from this source : https://rstudio.github.io/DT/extensions.html

library(DT)
datatable(
  iris,
  options = list(dom = 'Pfrtip', columnDefs = list(list(
    searchPanes = list(show = FALSE), targets = 1:4
  ))),
  extensions = c('Select', 'SearchPanes'),
  selection = 'none'
)

I get this error:

Error in FUN(X[[i]], ...) : The extension SearchPanes does not exist

I don't understand how to make this code works.

Thanks!

1
  • 4
    works fine for me. Perhaps update your packages.
    – J_F
    Commented Mar 9, 2020 at 19:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.