0
Wie kann ich "Show ... Entries" Begriffe Bezeichnungen umbenennen?formatStyle in Datentabelle DT
Danke
Hier ist der Code, den ich verwenden:
test.table <- data.frame(lapply(1:4, function(x) {1:50}))
names(test.table) <- paste0('cp', 1:4)
shinyServer(function(input,output){
output$table <- DT::renderDataTable({
DT::datatable(test.table, options = list(language = list(
info = 'Title example...',
paginate = list(previous = 'Bot', `next` = 'Top')
),formatStyle(test.table,'cp1',
backgroundColor = styleInterval(4, c('green',
'red'))
),orderClasses = TRUE))
})
Ich finde - DT :: datatable (test.t fähig, Optionen = Liste (Sprache = Liste ( info = 'Calcul des CpK pour l analysieren en cours', paginate = Liste (vorheriges '' Precedent ', 'next' =' Suivant '))))%>% formatStyle ('cp1', color = styleInterval (c (3.4, 3.8), c ('grau', 'blau', 'rot')))%>% formatStyle ('cp2', backgroundColor = styleInterval (3.4, c ('grün', 'rot'))) - Ich weiß nicht, wie man die Labels Search und Entries ändert –