# NOT RUN {
### Responsive tables
# In practice you will use `renderTable()` to update the data in a table.
# These live examples have been populated automatically for the sake of
# the demo.
# }
# NOT RUN {
<!-- % <script> -->
# }
# NOT RUN {
<!-- % $(function() { -->
# }
# NOT RUN {
<!-- % $(".yonder-table").each(function() { -->
# }
# NOT RUN {
<!-- % $(this).table({ data: iris }); -->
# }
# NOT RUN {
<!-- % }); -->
# }
# NOT RUN {
<!-- % }); -->
# }
# NOT RUN {
<!-- % </script> -->
# }
# NOT RUN {
tableThruput(
id = "table1", # <-
responsive = TRUE
)
### Borders on rows and columns
tableThruput(
id = "table2",
borders = "all", # <-
responsive = TRUE
)
### Edit table values
tableThruput(
id = "table3",
editable = TRUE, # <-
responsive = TRUE
)
# }
Run the code above in your browser using DataLab