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

Showing li data-icon in listview bound to a Kendo DataSource

1 Answer 131 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 23 Oct 2012, 04:58 PM
Hi,

I'd like to provide data icon attribute to items inside a listview bound to a data source and that uses a template. As 'li' element is added internally when data source is provided to the listview, I can't find any way to show the icon on item's left side.

Thanks

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 26 Oct 2012, 01:41 PM
Hello,

 You may output the element, which displays the icon manually - see this fiddle for example

Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView (Mobile)
Asked by
Daní
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or