All Answers

All Answers » Re: DataGridView Icons in Cell - Does it work the same in WiseJ 3 ? » Comments for "Re: DataGridView Icons in Cell - Does it work the same in WiseJ 3 ?"
  • edmond girardi
    What about the role ? I think that’s the only way we know what icon was clicked ? I believe the color is changed by whatever in WiseJ returns the image if I remember correctly from WiseJ2
  • Julie(ITG)
    Role is fine, I just didn’t put it in my sample code to keep it simple
  • Julie(ITG)
    Also note that if you use the fontawesone characters you can set the color: var iconHtml3 = “”; You need to edit Default.html and put this in :
  • edmond girardi
    Looks like your last post was cut off – not showing. I was able to get the size in there and now i ca see the icons
  • edmond girardi
    I checked my old WiseJ 2 code and definitly whatever is returning the resource in WiseJ is also setting the color using :src=’resource.wx/Wisej.Ext.FontAwesome/times-circle-o.svg?color=red’ ” I tried setting the color as part of the style but it does not do anything
  • Luca
    • Luca
    • Jan 14, 2026 - 1:46 am
    The recoloring has always been done in javascript in the browser. You can user the embedded svg resource as a src for img but it will not recolor. It never did. It only works with Wisej.NET widgets ImageSource property. In alternative you can use the font character icons and in that case only you can use the color style since it’s a character and not an img.