Format a vector of rows in italic and red font in R DT (datatable)
A bit similar to this question: How to give color to a given interval of rows of a DT table? but in my case I would like to let the user select rows in the table, then on click of a button deselect the rows, and turn the previously selected rows that are now part of the list of rows submitted for removal grayed out font (color: light gray) and in italic. This to indicate that these will be excluded from further analysis. Secondly a button to undo the entire selection should change all rows back to normal format I've gotten as far as recording the selected rows and adding the deselect feature,