Changing formatting of DT datatable filter boxes (square brackets, quotation marks, etc.)

Good afternoon,

Is it possible to change the formatting of the filter boxes of a {DT} datatable?

By default, they show quotation marks and square brackets, that look a little ugly. Is there a way to make them appear as just a comma-separated list instead?

DT::datatable(iris[,4:5],
              filter = "top")

(My preference would be for the box to just read versicolor, setosa, virginica without the extra characters)

NOTE: This isn't using {shiny} and is going into a static HTML report.

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.