Utilizing Scroller DataTable extension with datatable(fillContainer = TRUE, ...)
#1139
Open
3 tasks done
datatable(fillContainer = TRUE, ...)
#1139
The DataTable Scroller extension does not work correctly when using
datatable(fillContainer = TRUE, ...)
. I was able to figure out a work around for my issue utilizing the "scrollResize" plugin. Stackoverflow issue and workaround can be found here. Below is a toy example showing the issue. When the table loads, everything looks okay, but after you start scrolling the table gets reduced to only 9 rows. This is true regardless of the value given to thescrollY
option. You will also notice that the pagination gets reduced to only one record (i.e. "Showing 44 to 44 of 150 entries").By filing an issue to this repo, I promise that
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')
.I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: