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

[Feature Request] Pass specification to customize noUISlider filters from datatable? #1072

Closed
3 tasks done
yogat3ch opened this issue Jun 28, 2023 · 1 comment · Fixed by #1120
Closed
3 tasks done

Comments

@yogat3ch
Copy link

yogat3ch commented Jun 28, 2023

HI @yihui and DT maintainers,
I've been asked and seen it come up a couple of times to have the ability to customize the noUISliders used for column range filtering.
Looking at all the instances of noUISlider in htmlwidgets.js it does not appear that arguments are passed down from DT::datatable to the noUISlider but I could be wrong?
Does DT provide the ability to pass arguments on to the noUISlider implementation via a specification? Perhaps a list with column names specifying a list of arguments for noUISlider for each column? This could also be an unnamed list and just use the indices.
If it's not possible at present, what's the difficulty level of implementing this? Is it currently on the roadmap?

I've asked about a workaround here on R4DS. I haven't asked on SO or RStudio Community about a workaround yet.


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('DT'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/DT').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

@mikmart
Copy link
Contributor

mikmart commented Jan 23, 2024

There's some related discussion in #1083. Are there any particular options you think would be useful to customize?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants