Skip to content

Need to set Listview height with total height of its items #2546

@tomylee001001

Description

@tomylee001001

Hi,

In my application i need to show bunch of datas (which goes beyond the screen) and bottom of all of this i need to put listview to show some items (items height differ with one another).
because of this i put scrollview in my page and put everything in my scrollview.This allows me to scroll my data but my listview's height automaticly set to first items height and i end up with very little listview with second scroll.If my items height was same i can use something like <ListView [items]="items" [height]="{{ items.length * 100}}"> but i cant.
Is there any way to set ListViews height with its total height of items or make listview to expand its height automaticly.

Thanks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions