added the new table legend. buggy inplace editor.