Hi, I'm trying to swap out the default pencil image when using GridEditCommandColumn. Can you please instruct on how to accomplish that. Thank you
1 Answer, 1 is accepted
answered on 01 Oct 2019, 08:26 AM
The easiest way is to replace the icon using CSS. This only works with the RenderMode="Lightweight" as this uses Font icons.
Inspect the icon to find out which class is being used to style the icon (for example: .RadGrid .rgEditIcon:before)
Once you know the class, you can override it by adding your on CSS on the page. First, visit the List of Font Icons page and pick an icon that you like. You will need its Unicode which you can use in the CSS file to override the built-in icon.