Automatically resize InvestigationID column to fit contents.

Refs #10073.
Merge remote-tracking branch 'origin/feature/10073_investigationid_column_too_short'