#5763 fix for new line

As there is no new line, there is no way to place the cursor at the end of table.