@@ -17,7 +17,7 @@ shinyServer(function(input, output, session) {
17
17
) {
18
18
m = matrix (data = c(message ))
19
19
return (
20
- datatable(m , options = list (scrollX = TRUE , dom = ' t' ), colnames = NULL ) %> %
20
+ datatable(m , options = list (dom = ' t' ), colnames = NULL ) %> %
21
21
formatStyle(
22
22
1 ,
23
23
color = col ,
@@ -255,7 +255,7 @@ shinyServer(function(input, output, session) {
255
255
# ' UI depths table
256
256
output $ depth.table <- DT :: renderDataTable(rownames = FALSE , {
257
257
return (get.depths.table())
258
- }, options = list (scrollX = TRUE , dom = ' t' ))
258
+ }, options = list (dom = ' t' ))
259
259
260
260
output $ depth.table.info <- renderText({
261
261
depths = get.depths.table()
@@ -442,9 +442,7 @@ shinyServer(function(input, output, session) {
442
442
rawDataTable = tab.with.message(message.fail.upload )
443
443
}
444
444
return (rawDataTable )
445
- }, options = list (scrollX = TRUE ,
446
- scrollY = " 400px" ,
447
- dom = " t" ))
445
+ }, options = list (dom = " t" ))
448
446
449
447
450
448
# ' UI Table with raw data, long-format
@@ -462,9 +460,7 @@ shinyServer(function(input, output, session) {
462
460
tab = tab.with.message(message.fail.upload )
463
461
}
464
462
return (tab )
465
- }, options = list (scrollX = TRUE ,
466
- scrollY = " 400px" ,
467
- dom = " t" ))
463
+ }, options = list (dom = " t" ))
468
464
469
465
# ### Text output ####
470
466
@@ -758,25 +754,25 @@ shinyServer(function(input, output, session) {
758
754
# ' (K-value > Estimation > K-value estimation > Selected)
759
755
output $ kSelected <- DT :: renderDataTable(rownames = FALSE , {
760
756
return (values $ kvalues )
761
- }, options = list (scrollX = TRUE , dom = ' t' ))
757
+ }, options = list (dom = ' t' ))
762
758
763
759
# ' UI table output of auto. regression k-values
764
760
# ' (K-value > Estimation > K-value estimation > Regression)
765
761
output $ kRegression <- DT :: renderDataTable(rownames = FALSE , {
766
762
return (kComplete()$ regression %> % mutate_if(is.numeric , round , 2 ))
767
- }, options = list (scrollX = TRUE , dom = ' t' ))
763
+ }, options = list (dom = ' t' ))
768
764
769
765
# ' UI table output of closest zero-flow k-values
770
766
# ' (K-value > Estimation > K-value estimation > Zero-flow)
771
767
output $ kZeroFlow <- DT :: renderDataTable(rownames = FALSE , {
772
768
return (kComplete()$ no.flow %> % mutate_if(is.numeric , round , 2 ))
773
- }, options = list (scrollX = TRUE , dom = ' t' ))
769
+ }, options = list (dom = ' t' ))
774
770
775
771
# ' UI table output of uploaded k-values
776
772
# ' (K-value > Estimation > K-value estimation > Read csv)
777
773
output $ uploadedKvalues <- DT :: renderDataTable(rownames = FALSE , {
778
774
return (kFromCsv())
779
- }, options = list (scrollX = TRUE , dom = ' t' ))
775
+ }, options = list (dom = ' t' ))
780
776
781
777
782
778
# ### Graphics ####
@@ -1197,7 +1193,7 @@ shinyServer(function(input, output, session) {
1197
1193
# ' UI-Table with daily tree water use
1198
1194
output $ TWUtable <- DT :: renderDataTable(rownames = FALSE , {
1199
1195
treeWaterUse()
1200
- }, options = list (scrollX = TRUE , searching = F )) # dom = 't')
1196
+ }, options = list (dom = ' t' ) )
1201
1197
1202
1198
1203
1199
# ' Eventlistener to save daily tree water use as csv
0 commit comments