After update to the latest kendo version imageClass for custom commands seems to be not working anymore, what is the replacement for this?
Thanks
2 Answers, 1 is accepted
0
Orlin
Telerik team
answered on 12 Jul 2017, 06:47 AM
Hello Anton,
As of R1 2017 the Kendo UI widgets switched from using image-based icons to font-based ones. That resulted in some changes in the functioning of the widgets as well as their rendering. I believe the imageClass property no longer exists for the custom command button in the Grid for that reason. To replace it there is now the className property which adds a class name to the custom command button.
To properly add a Kendo UI icon however, you either have to do heavy restyling of the button or just use a script to insert a span with the Kendo UI icon classes before the button text.