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

Use WebFont Icons

1 Answer 404 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 06 Jul 2017, 09:03 AM

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. 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 10 Jul 2017, 06:20 AM
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.
Tags
TreeView
Asked by
Marcin
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or