I have the following dataset that is already outputted in Rmarkdown
HTML
but I am unable to disable search for certain columns
What I would like to do is the for the have contingent filter so if Group AAA is selected only display ID record for that AAA. Currently, it shows me everything
datatable(head(Group),
options = list(columnDefs =
list(list(className = 'dt-center',
targets = "_all")),
initComplete = JS(
"function(settings, json) {",
"$(this.api().table().header()).css({'background-color': '#9bcb51', 'color': '#000'});",
"}")))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…