Hi Marcelo ,
Greetings from Syncfusion support.
We have checked your reported problem with ListView component. We are able to reproduce it. In the version (18.1.42), we have updated some changes in our component. In ListView component, you need to add the TValue when declaring templates. In the previous version, you don’t need that. So, your reported problem occurs. To access the full functionality of the ListView component, we suggest you to update the (Syncfusion.Blazor)package to the latest version(18.1.45).
Refer the release notes below.
Refer the below code snippet.
|
<SfListView DataSource="@FruitsData" ShowHeader="true">
<ListViewFieldSettings Id="Id" Text="Text"></ListViewFieldSettings>
<ListViewTemplates TValue="DataModel">
<HeaderTemplate>
<div class="headerContainer">
<span class="fruitHeader">Fruits</span>
</div>
</HeaderTemplate>
</ListViewTemplates>
</SfListView>
|
Refer the simple sample link for rendering ListView component.
To know more about the ListView component, refer the below links.
Please le us know, if you need any further assistance.
Regards,
Sowmiya.P