I am not sure I'm really answering your question, but hopefully I can point you to some useful documentation.
This table is generated by the rmarkdown::print.paged_df
function which creates a pageable HTML table.
You might also consider other table options, Output Nice-Looking Formatted Tables