Clear grid window before refresh it.