glin / reactable

Interactive data tables for R
https://glin.github.io/reactable
Other
627 stars 80 forks source link

reactable - dataListFilter not working - error - colDef: unused argument! #338

Closed pswaminath closed 11 months ago

pswaminath commented 1 year ago

Hi, I am using reactable and displaying a dataframe with few columns. I have a column called conditions where I used dataListFilter for autocomplete feature. (https://glin.github.io/reactable/articles/custom-filtering.html)

I have made the necessary changes by looking at this post: https://github.com/glin/reactable/issues/266

I am able to see the dataListFilter working on my local Rstudio but when testing on shiny server, I get the following error.

Error in colDef: unused argument (filterInput = dataListFilter("browtable"))

I am on R 4.2.1 and reactable version (reactable_0.2.3) on shiny server.

Will this dataListFilter feature not work on this reactable version?

What could be the reason? Please suggest as how this error could be solved. Thank you.

PS

glin commented 12 months ago

Hi, filterInput was added in reactable 0.3.0 so you'll have to upgrade to at least that version: https://glin.github.io/reactable/news/index.html#reactable-030

pswaminath commented 12 months ago

Hi, Thanks for your response. I upgraded to reactable 0.4.4 and it works. Thank you.

PS