View source: R/grid-row-attributes.R
grid_row_merge | R Documentation |
Merge rows
grid_row_merge(grid, columns)
grid |
A grid created with |
columns |
column(s) in which merge consecutive rows. |
A datagrid
htmlwidget.
library(toastui)
datagrid(mtcars[order(mtcars$cyl), 1:5]) %>%
grid_row_merge(columns = "cyl")
datagrid(mtcars[, 1:8]) %>%
grid_row_merge(columns = "cyl") %>%
grid_row_merge(columns = "vs")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.