Update the style of a particular cell.
1 | updateTableStyle(session, tableID, class, row, col)
|
session |
The associated shiny session |
tableID |
The ID of the table we are to update |
class |
The class to set for this table element. You are free to define your own CSS to dictate the styling for any class. Three class names are provided with shinyTable: 'valid' (the default), 'invalid', and 'warning'. |
row |
The row number of the cell (1-indexed). |
col |
The column number of the cell to update (1-indexed) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.