You can add the stripe and row-border class to the table container:
library(DT) library(htmltools) datatable( head(iris, 20), container = tags$table( class="stripe row-border", tags$thead(tags$tr(lapply(colnames(iris), tags$th))) ) )
This will create a table container with both classes, and the styling function will be applied. You can add any other style from the link you posted.
source share