# Apply the 'warning' class to cells in table 'htTable' that contain a value
# between 5 and 10
highlightCells(session, 'htTable', class = "warning", min = 5, max = 10)
# Apply the 'info' class to rows in table 'htTable' where the text in the
# first column contains an 'i'.
highlightRows(session, 'htable', column = NULL, class = "info", regex = "i")
Run the code above in your browser using DataLab