Learn R Programming

D3TableFilter (version 0.7)

setRowClass: Highlight a row using bootstrap classes

Description

Highlight a row using bootstrap classes

Usage

setRowClass(session, tbl, row, class)

Arguments

tbl

Name of the table.

row

Number of the row to color.

class

Bootstrap contextual class ("active", "info", "success", "warning", or "danger"). "none" removes the highlighting. "info" is reserved for selected rows.

Session

Shiny session object.

Examples

Run this code
# NOT RUN {
setRowClass(session, "mtcars", 3, "success")
# }

Run the code above in your browser using DataLab