Improve TableEdit when table resize.