相关疑难解决方法(0)

R闪亮滚动wellPanel

是否可以滚动井板或柱?

我这里有一个简单的ui方案.

shinyUI(
  fluidPage(
    sidebarLayout(
      sidebarPanel(
        wellPanel(),
        wellPanel()

        ),
        mainPanel(
          fluidRow(
            column(3,
             wellPanel()
            )
          )
        )
    )
  )
)
Run Code Online (Sandbox Code Playgroud)

我想让一些wellPanels(里面的表格)可滚动.

我尝试在'sidebarPanel(')下面添加下面这段代码,但这使得我的整个侧边栏会滚动.我希望将'wellPanel'或'column'设置为可滚动.

tags$head(tags$style(
  type = 'text/css',
  'form-group { max-height: 600px; overflow-y: auto; }')
Run Code Online (Sandbox Code Playgroud)

谢谢

r shiny

11
推荐指数
1
解决办法
9109
查看次数

标签 统计

r ×1

shiny ×1