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

Incorrect icons with Bootstrap-v4 style

1 Answer 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
PaulH
Top achievements
Rank 1
PaulH asked on 22 Mar 2019, 01:26 PM

I've recently started working on a new ASP.NET Core project and one element I've been working on is using a Kendo UI grid with a custom button with a text of "Approve". I'm using the Kendo Bootstrap-v4 style but this seems to be causing issues with the button icons. In my grids the standard edit and delete buttons show with the correct icons but if I set my "Approve" button to have a .IconClass("k-i-check") I actually get the download icon. If I choose the "k-i-edit" .IconClass instead then i seem to get k-i-check. If I choose "k-i-checkmark-outline" I seem to get "k-i-email". Is this something I'm missing or an issue with the latest version of the files I have in place? I'm using "Kendo UI v2019.1.220". This is only on my development machine currently.

Css reference as below:

<link rel="stylesheet" href="~/lib/kendo-ui/styles/kendo.bootstrap-v4.min.css" />

Grid column

columns.Command(command => { command.Edit(); command.Custom("Approve").Click("approveUser").IconClass("k-i-checkmark-outline"); }).Width(120);

 

Thanks in advance for any advice.

1 Answer, 1 is accepted

Sort by
0
PaulH
Top achievements
Rank 1
answered on 22 Mar 2019, 04:49 PM
Got it. I didn't realise I also needed to add "k-icon" in the IconClass. So .IconClass("k-icon k-i-check") gives me the icon I want.
Tags
Grid
Asked by
PaulH
Top achievements
Rank 1
Answers by
PaulH
Top achievements
Rank 1
Share this question
or