我如何使用将sameSite设置为none和安全的js-cookie?是这样吗?
datatable(
iris, rownames = FALSE,
extensions = 'Buttons', options = list(
dom = 'Bfrtip',
buttons = list(
list(
extend = 'colvis',
columns = c(2, 3, 4)
),
list(
extend = 'colvisGroup',
text = "Show all",
show = ":hidden"
),
list(
extend = 'colvisGroup',
text = "Show none",
hide = ":visible"
)
),
columnDefs = list(
list(targets = c(2,3,4), visible = FALSE)
)
)
)