I'm trying to format the tabular output appearance of several data.frames in an shiny app produced using renderTable. The number of columns in the data.frames changes given user inputs, but all data.frames will always have the same number of columns. The first two columns of each frame are static and need to have different widths. The width of the additional columns will also be fixed.
I've tried to search extensively to find a solution to what should be a common and simple need to no avail. I can't find an argument to define specific column widths in these functions (the 'width' argument in both renderTable and print.xtable seems to define the width of the the WHOLE table), nor can I find an HTML/CSS solution that will easily allow the number of columns to change conditional on inputs.
Please help! As always thanks in advance!