Use WebFont Icons

2 posts, 0 answers
  1. Marcin
    Marcin avatar
    1 posts
    Member since:
    Feb 2017

    Posted 06 Jul Link to this post


    Hi,

    Is it possible to use WebFont Icons (http://docs.telerik.com/kendo-ui/styles-and-layout/icons-web) as icons for TreeView?

    I noticed that it’s possible to add css classes with spriteCssClass, but “spriteCssClass: "k-icon k-icon-folder” is not working for me.

    Do you know if it’s possible to fix this? It would be neat to use the new icons in the TreeView. 
  2. Dimitar
    Admin
    Dimitar avatar
    173 posts

    Posted 10 Jul Link to this post

    Hello Marcin,

    Currently there are two available options to add icons in the Kendo UI TreeView - by using sprites or images. You can review both scenarios in the following TreeView demo.

    You can also check this Dojo example, where you will find a workaround for using the Kendo UI font icons with the spriteCssClass.

    Regards,
    Dimitar
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top