Hi all. There is a large array of data, so I use virtualization. The element needs to have 2 lines; if I do this, the styles break. https://stackblitz.com/edit/angular-rgcbjk?file=src%2Fapp%2Fapp.comComponent.ts Moreover, if you remove virtualization, everything is ok.
2 Answers, 1 is accepted
0
Accepted
Martin Bechev
Telerik team
answered on 26 Sep 2023, 06:46 AM
Hi Alex,
When virtualization is enabled, the itemHeight needs to be set to ensure a smooth scrolling (in this example, this is 28px). Using a custom template and <br> tag for the item text, requires a bigger height, but since the itemHeight is set, the text is overlapped.
Set the itemHeight to a bigger value in order to avoid overlapping the text: