Update gridview.py

delete #530