我有一个闪亮的应用程序与标签面板,其中标签也细分为2个标签,我希望显示一个简单的busyIndicator (默认加载图像)时,闪亮是忙于加载其中一个子标签的数据。
简化的代码片段:
tabsetPanel(id = "tabs",
tabPanel(value = 3, ("Tab3"),
tabsetPanel(id = "subPanel3", position = "left",
tabPanel(value = 9, ("View"), icon = icon("eye-open", lib = "glyphicon"),
busyIndicator(text = "Loading, please wait...", wait = 400), (...)
DT::dataTableOutput("lc")我以前用过这个功能,但这次它没有显示,我不知道为什么。有什么变化吗?我没有看到任何需要的shinySky更新。谢谢!
发布于 2019-09-30 15:44:52
我也遇到过类似的问题--尽管我不确定我的解决方案是否能解决您的问题。另外,我参加聚会可能太晚了,但这可能会对其他人有所帮助。
在我的例子中,busyIndicator隐藏在其他输出(表、图等)之后。通过将busyIndicator行移动到dataTableOutput行的下方,它将变为可见。也就是说,交换tabPanel中的两行
tabsetPanel(id = "tabs",
tabPanel(value = 3, ("Tab3"),
tabsetPanel(id = "subPanel3", position = "left",
tabPanel(value = 9, ("View"), icon = icon("eye-open", lib = "glyphicon"),
DT::dataTableOutput("lc")
busyIndicator(text = "Loading, please wait...", wait = 400)https://stackoverflow.com/questions/31754719
复制相似问题