Improve to edit index function of the table editor for easy to use