Here is an example to consider:
library(DT)
L <- 10
datatable(
data.frame(
var1 = sapply(1:L, function(x)
paste("<X>",paste0(x,
letters,
LETTERS,
"\n",
collapse=" "))),
var2 = round(rnorm(L),2)
)
)
Below is the output for reference:
https://i.stack.imgur.com/rjzvU.png
I am looking for a way to either hide or customize (change background color and font family) the top section of the output that includes "Show X entries" along with the "Search" tab. While I have managed to format rows and headers using custom CSS and JS code within the options
of datatable
, I am struggling with handling the filter pane.
If it matters, I plan to incorporate these outputs into a Shiny web-app.
Thank you in advance for any assistance.