-
Notifications
You must be signed in to change notification settings - Fork 182
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
RowGroup extension with rownames = TRUE #1109
Comments
d = data.frame(
A = c(1, 2, 3, 4),
B = c(5, 6, 7, 8),
G = c("a", "a", "b", "b")
)
DT::datatable(
d, rownames = FALSE,
options = list(
colReorder = TRUE,
rowGroup = list(dataSrc = 2)
),
extensions = c("ColReorder", "RowGroup")
) Okay, I see the problem now. Technically it shouldn't be too difficult to fix. We need to reset the
I'm not sure if anyone wants to help. I don't have time to work on it at the moment, but can take another look in a couple of months if no one sends a PR. |
Our great helper @mikmart has made it again! Now you can try the development version: remotes::install_github('rstudio/DT') |
I can confirm it works! Thank you so much @mikmart , you're on a roll!! |
Great, thanks for testing! |
The
RowGroup
extension does not appear to work properly whenrownames = TRUE
. It repeats the row header for each row (even when the grouping column has the same value).I'm aware of the support issues with DT, just filing this FYI. Thank you
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: