Finished datagrid implementation.