This example shows how to use the forceFit config to make columns always fit within the available width.
forceFit
Note that the js is not minified so it is readable. See force-fit-grid.js.