We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ListView / ListBox + item template

Thread ID:





149599 Dec 2,2019 08:41 PM UTC Dec 3,2019 12:29 PM UTC Vue 1
Tags: ListView
Miles Benson
Asked On December 2, 2019 08:41 PM UTC


First question: can I use a template with a ListBox, or do I need to use a ListView to achieve that?  If I can, is there any benefit with one or the other?

Second question, please could you supply the "list-template.vue" file referenced in this demo?


import listtemplateVue from "./list-template.vue";

I'm really struggling to replicate what you have.

Thank you!

Keerthana Rajendran [Syncfusion]
Replied On December 3, 2019 12:29 PM UTC

Hi Miles, 
Good day to you, 
Query #1: can I use a template with a ListBox  
We would like to inform that you can use template property in Listbox and we have already documented your reported requirement. Please refer the below documentation link for achieving your requirement.  
Documentation Link:  
Query #2: Benefit of Listbox:   
The ListBox component is a form component which displays a list of items from which the user can select one or more items. The supported features are data binding, drag and drop, templating, grouping, sorting and filtering.  
Query #3- Listview template file. 
We have checked your reported query about listview.template file. You can refer the sample browser sample in below location (listview.template file) 
We will add this file in our online sample browser on upcoming Volume 4 Release. 
Please let us know, if you have any concerns 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon