Learn R Programming

D3TableFilter (version 0.7)

setFilter: Set filter on a column

Description

Set filter on a column

Usage

setFilter(session, tbl, col, filterString, doFilter = TRUE)

Arguments

tbl

Name of the table to filter.

col

Set filter on column ("col_0").

doFilter

Activate the filter after setting it.

Session

Shiny session object.

Examples

Run this code
# NOT RUN {
setFilter(session, "mtcars", col = "col_1", filter = ">20")
# }

Run the code above in your browser using DataLab