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: specifying decimal places interactively #163

Closed
jgabry opened this issue Aug 11, 2015 · 2 comments
Closed

Feature request: specifying decimal places interactively #163

jgabry opened this issue Aug 11, 2015 · 2 comments
Milestone

Comments

@jgabry
Copy link

jgabry commented Aug 11, 2015

Particularly in regards to use with shiny apps, but also more generally, would it be difficult to add a way to let the user specify the number of decimal places to show without it resetting all other options they've selected? For example, if I use a numericInput in a shiny app so that the user can enter a number of digits, then when using extensions (e.g. ColVis) it will reset all the extensions when the numericInput is changed because the table re-renders.

If this isn't too difficult and you can point me in the right direction I could also try it and submit a pull request.

@vnijs
Copy link
Contributor

vnijs commented Aug 11, 2015

@jgabry You could try using stateSave to restore table settings when the data is updated. See http://rstudio.github.io/DT/shiny.html

This discussion may also be of interest to you.

@jgabry
Copy link
Author

jgabry commented Aug 11, 2015

Thanks for the pointers. I'll take a look.

On Tuesday, August 11, 2015, Vincent Nijs notifications@github.com wrote:

@jgabry https://github.com/jgabry You could try using stateSave to
restore table settings when the data is updated. See
http://rstudio.github.io/DT/shiny.html

This #146 discussion may also be of
interest to you.


Reply to this email directly or view it on GitHub
#163 (comment).

@yihui yihui added this to the v0.3 milestone Jan 3, 2018
@yihui yihui closed this as completed Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants