This is a migrated thread and some comments may be shown as answers.

Variable heights

1 Answer 89 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 12 Apr 2018, 08:51 PM
Is it possible for list items to automatically alter their height to fit their contents?

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 17 Apr 2018, 08:22 AM
Hi, Ian,

You can create an ItemTemplate of your choice so that such behavior is achieved. Please have a look at the attached sample. As you can notice, in this case I am using a a grid row with * height and the total height of the item is different according to the content of the items.

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Ian
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or