appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Feature]: List dynamic height

Open JakubNajvarek opened this issue 1 year ago • 9 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Summary

It would be very nice if there would be a possibility to have "Auto height" or dynamic height option on a list component (So that the height would depend on number of items).

Why should this be worked on?

I think it would really help so that the list looks better for the app users and i also think that its a feature thats used on other components so other so it wouldnt be that hard to implement it (I hope).

Front logo Front conversations

JakubNajvarek avatar Mar 08 '24 10:03 JakubNajvarek

@JakubNajvarek thank you for the feature request!

Nikhil-Nandagopal avatar Mar 08 '24 11:03 Nikhil-Nandagopal

Yes, please add the auto-height feature if you have cycles. I have a table which can have varying number of records returned from DB based on the time of day and the day of week. It is ranging anywhere from 0 to 20+ items. The list needs to live on the page with other components. As you can probably guess, having fixed width wouldn't work in this case.

okletsov avatar Mar 20 '24 19:03 okletsov

Hi guys, any update on that? I have a similar use case where I need to have a list which is dynamic in size, not only by data returned from the data source but also can be changed by the user adding/removing elements from it.

matangilad-fiverr avatar Sep 24 '24 07:09 matangilad-fiverr

Hello all, having the ability for the List component to be auto-height, based on its content, is a critical need for our application. Similar to others, this list will expand and contract depending on data and user interaction, and the current fixed height/pagination paradigm does not allow for the required interactions we need.

trmc10 avatar Dec 09 '24 15:12 trmc10

We could really use this ability ASAP. We need to use two lists on an interface and not being able to dynamically size them based on the number of items on the list makes it incredibly wonky/unusable. This feels like an easy fix, I'm not sure why it doesn't already work this way.

chawlz7 avatar Dec 09 '24 19:12 chawlz7

I do have a similar need. I run a whole bunch of list widgets that have between none and a lot elements. Currently I have to e.g. reserve space for 10 elements but in many cases half of the screen remains blank.

What I would need is a list that worth dynamically up to a certain number of elements before it then breaks into several pages. Example: It will show up to 10 elements growing dynamically and for any beyond this will open a new page.

Also, if there were a work around to for now I would appreciate learning about it.

RoSche2001 avatar Dec 13 '24 13:12 RoSche2001

List component is imho the most flexible and allows creating really cool looking lists. Having dynamic height on every "card" would allow to create awesome collapsible lists :)

umbearto avatar Feb 17 '25 15:02 umbearto

Is there any update to this?

PatrickCoyle9 avatar May 13 '25 16:05 PatrickCoyle9

I want to second this. Collapsable cards are needed, specially considering that the list widget accepts all other widgets inside, which converts it automatically in the go-to widget for lots of use-cases, but not so much if the height is fixed, limiting radically the dynamic content each card can show.

automatron3k avatar Oct 24 '25 13:10 automatron3k