Added Datagrid.

Added datagrid example with assigning the size depending on size of
dataprovider.