displays retrieved data using tableGenerator