Database view not showing code

Good evening, I created a view in my database but when I try to create a grid using this view I do not get the SQL code, and cannot proceed, is there anyway to get past this