Locked datagrid to all sides of main window