Triggering column content resizing from outside

Split up resizing columns to their content into a seperate function. Created a public function `resizeColumnsToContent` to trigger column resizing manually. See #98.