R Using JavaScript to customize DT tables
问题 I have previously asked how to colour cells based on colours stored in hidden columns (link) and how to get information when hovering a cell (link). I would also like to do some formatting at the same time. I want to expand my initial posts where I want to add colour depending on colour specified in the data frame add the hover option to display the sample sizes related to the individual cells (also in the data frame). apply number formatting to specified columns Example data: dat <- iris[1:5