Completed Table Layout and highlight function.