我正在编写一个使用WPF创建小型GUI的PowerShell脚本。我想使用TextBoxBase.TextChanged事件添加检测ComboBox中文本的时间。
以下是我尝试过的一些事情:
(...)
shinyServer(function(input, output, session) {
output$table1 <- DT::renderDataTable({
search <- input$name
df <- subset(products, grepl(search, products$Name, ignore.case = TRUE)==TRUE)
df$Model <- paste("<a href= '",df$URL1,"' target='_blank '>",df$Model,"</a>")
df2 <- subset(df, Clonality == input$clonality)
df3 <- df2[,tbl]
colnames(df3) <- c("Name", "Model", "Short Description", "Human Gene Symbol", "Sizes", "Price Pounds", "Price Dollars", "Price Euros", "Reviews" )
datatable(df3, escape = FALSE)%>%formatStyle("Reviews",backgroundColor=styleInterval(1.10, c("red", "green")))%>%formatStyle("Name","Price Dollars",backgroundColor=styleEqual("132 214.5 264", "orange"))
})
(...)
答案 0 :(得分:1)
你可以这样做:
ViewPager