added filter option to name column on overview

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-01-20 11:48:31 +01:00
parent 004620cf41
commit a6416f27ce
No known key found for this signature in database
3 changed files with 19 additions and 1 deletions

View file

@ -224,6 +224,15 @@ create_overview_datagrid <- function(data) {
formatter = toastui::JS("function(obj) {return (obj.value*100).toFixed(0) + '%';}") formatter = toastui::JS("function(obj) {return (obj.value*100).toFixed(0) + '%';}")
) )
grid <- toastui::grid_filters(
grid = grid,
columns = "name",
showApplyBtn = TRUE,
showClearBtn = TRUE,
type = "text"
)
return(grid) return(grid)
} }

View file

@ -906,6 +906,15 @@ create_overview_datagrid <- function(data) {
formatter = toastui::JS("function(obj) {return (obj.value*100).toFixed(0) + '%';}") formatter = toastui::JS("function(obj) {return (obj.value*100).toFixed(0) + '%';}")
) )
grid <- toastui::grid_filters(
grid = grid,
columns = "name",
showApplyBtn = TRUE,
showClearBtn = TRUE,
type = "text"
)
return(grid) return(grid)
} }

View file

@ -5,6 +5,6 @@ account: agdamsbo
server: shinyapps.io server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1 hostUrl: https://api.shinyapps.io/v1
appId: 13611288 appId: 13611288
bundleId: 9662237 bundleId: 9672132
url: https://agdamsbo.shinyapps.io/freesearcheR/ url: https://agdamsbo.shinyapps.io/freesearcheR/
version: 1 version: 1