In WiseJ 2 we used to add icons to a DataGid Row’s Column to allow the user to perform actions on that row – like delete, view more info, etc..
We used to se the column to Allow HTML then add some string to the column in the row like this:
string is_Delete_Action = @”<img role = ‘delete’ title =’Delete Guardian’ src=’resource.wx/Wisej.Ext.FontAwesome/times-circle-o.svg?color=red’ class=’cell-image’/>”;
I’m trying this in WiseJ 3 and it just shows a blank cell. Is this method still supported in Wise J 3 ?
Reposting because it got cut off:
If you use the fontawesome characters you can set the color like so:
var iconHtml4 = "<i style=\"color:red\" class=\"fa-brands fa-github\"></i>";
If you do that, you need to add this to the head in Default.html:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"/>
See attached sample
It does still work in Wisej 3.
Try this: string is_Delete_Action = "<img style='width:16px; height:16px' src ='resource.wx/Wisej.Ext.FontAwesome/times-circle-o.svg'/>";
Some things to note:
Please login first to submit.
