The table header does not adjust automatically, We need to call resetView method. by @wenzhixin
resetView