drawing full table based on a TableEntity