Skip to content

Commit

Permalink
show data in xl modal
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed May 13, 2024
1 parent 7f45ccb commit 6e13652
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions R/show_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,14 @@ show_data <- function(data,
} else {
showModal(modalDialog(
title = tagList(
tags$button(
phosphoricons::ph("x", title = i18n("Close"), height = "2em"),
class = "btn btn-link",
style = css(border = "0 none", position = "absolute", top = "5px", right = "5px"),
`data-dismiss` = "modal",
`data-bs-dismiss` = "modal",
`aria-label` = i18n("Close")
),
button_close_modal(),
title
),
tags$div(
style = css(minHeight = validateCssUnit(options$height)),
toastui::renderDatagrid2(datatable)
# datatasble
),
size = "l",
size = "xl",
footer = NULL,
easyClose = TRUE
))
Expand Down

0 comments on commit 6e13652

Please sign in to comment.