In this handsontable tutorial, this line appears:
colWidths: [55, 80, 80, 80, 80, 80, 80], //can also be a number or a function
Does anyone know (and have an example for) the use of the colWidths
option when passing it a function?
It is a constructor option. If a function is possible, then:
colWidths: function(){ return [55, 80, 80, 80, 80, 80, 80]; },