Ramnath: I don't know any jquery so sub (rather than gsub) will work for now I guess.
Stephane: I use this to bold the largest absolute value in each row of a factor loading matrix. The code is across a few files in my app (not good :) ) but this is pretty much how it works.
abs_res <- abs(res)
row_max <- apply(abs_res, 1, max)
ind_max <- which(abs_res == row_max , arr.ind = TRUE)
emphasize.strong.cells(ind_max)
html <- markdownToHTML(text = pander.return(res, style='rmarkdown'), stylesheet="www/fancyTab.css")
html <- sub("<table>","<table class='table table-condensed'>", html)
}
then use HTML(fancyTable()) in your tabPanel
There is actually nothing in my fancyTab.css file right now :) I am pretty happy with bootstrap's table-condense formatting.
I woudn't use this approach for big tables (i.e, > a few 100 rows) but for my purposes it works nicely.