Referring to this link that was resolved before but I need a slightly different resolution: Default column width
Basically, I have for example, 10 columns in total in the table. I wish to have the first 5 columns fixed to 300px and the rest of the columns should automatically adjust according to its contents. However like the OP mentioned in the link above, when colWidths is set, the rest of columns that doesn’t have a valid index in the specified array will be given the default value.
Example: colWidths: [300, 300, 300, 300, 300]
This will give the first 5 columns a fixed width of 300px, but the rest will be given default values.