I have a list of objects, and I need to print it as a table where first row is the header and each row after is one object, and each column in the row represents one attribute. And I need the table to adjust its size by the size of the text in each field. For example, I need something like this:
=============================================
| First Name | Last Name | Age |
=============================================
|Person's name|Person's surname|Person's age|
to change size if the text in the Field "First Name" gets bigger, like this:
=======================================================
| First Name | Last Name | Age |
=======================================================
|Person's very long name|Person's surname|Person's age|
Is it possible to manage this and how?