Height Options Table

I wanted to share an idea for controlling the table height in a more dynamic way.

In addition to the current options (Auto or Fixed), I would argue that it would make sense to have a table auto "grow" to the remaining height of the module.

So in essence, any table with the height property set to "Grow" would take advantage of the available real-estate below it.

In the context of a module, this would essentially allow dynamic height for a table.

The current problem we're facing is that while you can create a module containing a table, one can only use a fixed height, basically.

In other words: there is no way to re-use the same module with the table and have the table adjust according to the height of the module.

I am referring to the options below, which could be expended to include this behavior:

Screenshot

1 Like

If this proves to be too difficult to implement short term, I could also envision a different strategy: allow for dynamic height, similar to the margin. By doing so, one could possibly refer to any value, like the height of the module itself (minus some component), to make this all responsive.

Hello @emozio!

I think this is a reasonable request. I can make a feature request for this, so that table's can expand to better fit the vertical space in modules.

Are you imagining that the table will expand down but the top of the table stays static from the top of the module?

1 Like

Yes, I can imagine the table to expand down.

Ok great to know, I can add that detail to the feature request ticket.

It looks like the engineers are looking to group this together with other components bedsides the table that also need improved height functionality.

Will keep you updated on the progress!