Added grid view to window