Custom sizing
The sample shows how to use the resize() function within a custom function to set size for the grid put inside a 'div' container.