Auto-resize dataTable columns and the dataTables themselves to fit data

i don’t see a way to get the columns of a datatable to resize to fit the data (grow or shrink) or to get the datatable itself to grow/shrink to fit the data.
note that you can set column widths to “auto”, but that does not seem to do anything. also, setting the width of the datatable to fit-content doesn’t seem to do anything, either.