On which event do you want to make the resize "automatically"?
you can try to set all widths, but this will work only if you know the maximal size. Here some idea how to change the width, but not sure if this will help you.
var array = [0,1,2,3,4,5,6,7,8,9,10];
CROSSTAB_1.resetAllColumnWidths();
array.forEach(function(element, index) {
CROSSTAB_1.setColumnWidth(index, 200);
});
for the height, the only way to adjust the height would be some CSS work.