Datatables with fixed-width columns

The code below does not provide for fixed column width. When using the search box, the resulting terms and their highlights appear in a narrower column than originally specified (2oopx). Because the results are long text strings, I'd like the column to remain fixed.

datatable((xyz_text_table_d),rownames = FALSE, extensions = 'Buttons', options = list(autoWidth = TRUE,
columnDefs = list(list(width= '200px',targets = "feedback")), dom=('Bfrtip'), buttons = c('excel'),pageLength = table_rows,searchHighlight = TRUE),filter=list(position="top"))

This topic was automatically closed 21 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.