move code from view to AddDefaultGridOptions - relations and default values