add clear method to view, call when refreshing rows