mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
internalised the create_column function from datamods for ui modifications - all variable icons are the same throughout now - added custom css
This commit is contained in:
parent
e3017458dd
commit
6a43ba7b5b
12 changed files with 1322 additions and 23 deletions
41
man/show_data.Rd
Normal file
41
man/show_data.Rd
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/datagrid-infos-mod.R
|
||||
\name{show_data}
|
||||
\alias{show_data}
|
||||
\title{Display a table in a window}
|
||||
\usage{
|
||||
show_data(
|
||||
data,
|
||||
title = NULL,
|
||||
options = NULL,
|
||||
show_classes = TRUE,
|
||||
type = c("popup", "modal", "winbox"),
|
||||
width = "65\%",
|
||||
...
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{a data object (either a \code{matrix} or a \code{data.frame}).}
|
||||
|
||||
\item{title}{Title to be displayed in window.}
|
||||
|
||||
\item{options}{Arguments passed to \code{\link[toastui:datagrid]{toastui::datagrid()}}.}
|
||||
|
||||
\item{show_classes}{Show variables classes under variables names in table header.}
|
||||
|
||||
\item{type}{Display table in a pop-up with \code{\link[shinyWidgets:sweetalert]{shinyWidgets::show_alert()}},
|
||||
in modal window with \code{\link[shiny:showModal]{shiny::showModal()}} or in a WinBox window with \code{\link[shinyWidgets:WinBox]{shinyWidgets::WinBox()}}.}
|
||||
|
||||
\item{width}{Width of the window, only used if \code{type = "popup"} or \code{type = "winbox"}.}
|
||||
|
||||
\item{...}{Additional options, such as \code{wbOptions = wbOptions()} or \code{wbControls = wbControls()}.}
|
||||
}
|
||||
\value{
|
||||
No value.
|
||||
}
|
||||
\description{
|
||||
Display a table in a window
|
||||
}
|
||||
\note{
|
||||
If you use \code{type = "winbox"}, you'll need to use \code{shinyWidgets::html_dependency_winbox()} somewhere in your UI.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue