Skip to content

Commit dcc6010

Browse files
committed
[data] ui styling tables
1 parent ec4a768 commit dcc6010

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

server.R

+5-2
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@ shinyServer(function(input, output, session) {
436436

437437
#' UI Table with raw data, wide-format
438438
#' (Data > Upload > Preview data)
439+
#' datatable options
440+
#' dom: l - length, t - table, i - information
441+
#' p - pagination control
439442
output$raw.wide <- DT::renderDataTable(rownames = FALSE, {
440443
rawData = rawData()
441444
if ("dTime" %in% colnames(rawData)){
@@ -445,7 +448,7 @@ shinyServer(function(input, output, session) {
445448
rawDataTable = tab.with.message(message.fail.upload)
446449
}
447450
return(rawDataTable)
448-
}, options = list(dom = "t"))
451+
}, options = list(dom = "ltip"))
449452

450453

451454
#' UI Table with raw data, long-format
@@ -463,7 +466,7 @@ shinyServer(function(input, output, session) {
463466
tab = tab.with.message(message.fail.upload)
464467
}
465468
return(tab)
466-
}, options = list(dom = "t"))
469+
}, options = list(dom = "ltip"))
467470

468471
#### Text output ####
469472

0 commit comments

Comments
 (0)