Dynamic grid view demo example

Generating a grid view with a matrix structure and adjusting last row in a centered element manner