Fix Bug For GridView

Fix Bug For GridView