Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9089663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T22:12:09+00:00 2026-06-16T22:12:09+00:00

I am using the JQuery initialization syntax. As of now, I create my desired

  • 0

I am using the JQuery initialization syntax.

As of now, I create my desired listview links like this:

<li data-icon="featured"><a>My Listview Item Link</a></li>

This gives me a listview link with the “featured” font icon on the left, followed by the link text, followed by a small arrow on the right.

What I am trying to do is convert to using templates, but I’m having trouble achieving the same result as describe above. Here’s what I have so far:

<script type="text/x-kendo-template" id="mListviewTemplate">
    <a data-role="listview-link">${name}</a>
</script>

This results in what I need, except for the missing font icon. The documentation states I can add an <img> element to get a font icon, but it’s a bit vague and with no example.

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T22:12:10+00:00Added an answer on June 16, 2026 at 10:12 pm

    Just choose an element and add the .km-icon and .km-featured css classes to it.

    <script type="text/x-kendo-template" id="mListviewTemplate">
        <span class="km-icon km-featured"></span><a data-role="listview-link">${name}</a>
    </script>
    

    You can inspect the icons at kendo’s mobile demo page and see that this is exactly how it is rendered.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using jQuery Nearest Element , I would like to select elements in a circular
Using jQuery, how can I get the selected item's value in a select when
I am using http://jamuhl.github.com/i18next to localize a static website. My initialization script is: jQuery(function($)
I'm using the jQuery plugin Cloud Zoom, and I've altered the initialization so that
I am using a jQuery Ajax control from this site http://abeautifulsite.net/2008/03/jquery-file-tree/ I have it
So i'm using this plugin https://github.com/podio/jquery-mentions-input for my comment system, everything works fine but
I've been using jQuery datatables plugin for about two years now and it worked
I am having some problems creating custom types for my data table, using jquery.datatables.js.
I have this site that is built using the jQuery Masonry plugin, the site
I am using a jquery modal dialog to display a table of data from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.