title: R DT Flexible Table Width
body: <p>I would like to make a datatable using DT that does not change width when the browser window changes. The example below almost does what I am trying to do, all of the column widths are locked except the first column, which is still flexible. I would like all of the columns to be locked without specifying widths in pixels for each column.</p>
  
  <pre><code>library(DT)
  library(dplyr)
  
  datatable(mtcars,
            options = list(
                  autowidth = TRUE
             )) %&gt;%
    formatStyle(columns = 1:ncol(mtcars),
        `width` = "100%")
  </code></pre>