fix bug when I set header or footer of gridview 

When I set header or footer of gridview, My datasource maybe modified,so I need reload number of items in gridview