This falls somewhere between an extension and a guide, but probably best placed here. Consider this to be helper blocks which can be used in a bigger app.
In essence, the following generates a dynamic table from a data list and uses @Kevinkun's dynamic components extension CompCreator to do it. It is based, and expands, upon @Ken's TableView extension.
There would need to be limits. What if you had a very long text, that wouldn't look good, one would need to work out the logic of when fit to content did not apply. It seemed better to allow the developer to decide on column widths, based upon the data being used. The developer could always provide the user with a settings page to allow them to set the widths to their liking.
However, nothing to stop you from programming in dynamic column widths based upon content
You will need to analyse the content for each column, based upon length or type, then use logic/blocks to set the column width based upon that analysis. You can then use the existing column width setting blocks to set each column.
Hi Tim, you are right, I did not notice that the rows height fits the length of the content (I had eliminate the clock), now I have restored it and it is ok.
How can I convert the project to new extension (CompCreator)
It is the same. I used an updated version before Kevinkun changed the name. However you cannot update the former with the latter. You would need to load the CompCreator extension then change every single block that has DCLite to CompCreator.