Is it possible to utilize both rowCallback and stypeEqual formatting features in one tab when using two tabs to display a data frame in R Shiny?
datatable(DF, options = list(rowCallback=JS("function(row,data) {
data[0] = data[0] .replace(/NxG/g,'<span style=\"color:blue; font-weight:bold\"\">NxG</span>');
$('td:eq(0)', row).html(data[0] );}"), dom = 't'))
datatable(DF,options = list(columnDefs = list(list(targets = (2:5), visible = FALSE)))) %>% formatStyle(1, 3, backgroundColor =
styleEqual(c(1, 3), c('green', 'yellow')))