dynamic resizing of edit table