Where is icon list for IconClass

2 posts, 1 answers
  1. Dario
    Dario avatar
    40 posts
    Member since:
    Jun 2018

    Posted 17 Apr 2020 Link to this post

    I found several icons list, but I would like to know which list works with commands.

     

    columns.Command(command => command.Custom("DetailsCommand").IconClass("filter").Click("showDetails"));
  2. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    2153 posts

    Posted 22 Apr 2020 Link to this post

    Hello Dario,

    The list of icons you can find here: https://docs.telerik.com/kendo-ui/styles-and-layout/icons-web#list-of-font-icons

    To use an icon in the custom command button, an additional class ("k-icon") is needed. For example, to display the filter icon IconClass should be set like this:

    columns.Command(command => command.Custom("DetailsCommand").IconClass("k-icon k-i-filter").Click("showDetails"));

    Regards,
    Ivan Danchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top