Giter VIP home page Giter VIP logo

Comments (6)

vnijs avatar vnijs commented on May 27, 2024

Looks like this issue is not present with the development release of Shiny.

from dt.

yihui avatar yihui commented on May 27, 2024

Yeah, at the moment I'd recommend you to use the development version of shiny. You are also welcome to test a change that we will introduce soon: ramnathv/htmlwidgets#28

devtools::install_github(c('jeroenooms/jsonlite', 'rstudio/shiny', 'yihui/htmlwidgets@jsonlite'))

It should not really affect DT, but I have some ugly fixes for RJSONIO in DT that I want to remove as soon as the new version of htmlwidgets is released.

from dt.

vnijs avatar vnijs commented on May 27, 2024

Ok. With try on shinyapps tomorrow

On Sat, Apr 11, 2015 at 8:18 PM, Yihui Xie [email protected]
wrote:

Yeah, at the moment I'd recommend you to use the development version of shiny. You are also welcome to test a change that we will introduce soon: ramnathv/htmlwidgets#28

devtools::install_github(c('jeroenooms/jsonlite', 'rstudio/shiny', 'yihui/htmlwidgets@jsonlite'))

It should not really affect DT, but I have some ugly fixes for RJSONIO in DT that I want to remove as soon as the new version of htmlwidgets is released.

Reply to this email directly or view it on GitHub:
#46 (comment)

from dt.

vnijs avatar vnijs commented on May 27, 2024

I installed the latest jsonlite, shiny, and htmlwidgetsfrom github. Works fine locally and on shinyapps.io. Nice! A couple of notes:

  1. There is quite a bit of padding for the filter boxes. CSS adjustments below helped
  2. Hiding the clear icon would be great as well
  3. Without steps like the shiny sliders have, getting to a desired value is a lot harder than I thought it would be. For dates, perhaps a date-picker could be an option. For numerics, perhaps the popup could allow use of arrow keys and/or the ability to edit the range manually in the popup as well.
  4. The overall-search box (top-right) does not have class form-control so the styling is a bit different
  5. With the selectize conflict you mentioned using filter boxes with "top" is not really an option at the moment if the data has factors
  6. I know you can access the selected rows in DT. However, it would be useful to have access to the user inputs as well. I recall we discussed this before DT was moved to rstudio/DT but I cannot find the (github) conversation. I assume I should be looking in DT/R/shiny.R. The reason I want this is to save filters. You can save the row-selection information but then you have no idea how that filter was constructed. If you could combine the information from the DT search components into a dplyr-filter you can retrace what you did.

table.dataTable tfoot td, table.dataTable thead td {
padding-left: 0px;
padding-right: 0px;
}

from dt.

vnijs avatar vnijs commented on May 27, 2024

@PHILL class = "compact" is nice but I was referring more to the padding in and around the filter boxes. "compact" doesn't seem to affect that.

from dt.

phillc73 avatar phillc73 commented on May 27, 2024

Yes, I must admit I realised that after posting my comment, which is why
I deleted it. Sorry.

On 12/04/15 22:58, Vincent Nijs wrote:

@PHILL https://github.com/phill class = "compact" is nice but I was
referring more to the padding in and around the filter boxes.
"compact" doesn't seem to affect that.


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

from dt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.