I'm looking to display a clickable icon for content in a col. I cannot get the icon to show up. I've tried everything I've seen on your site and samples. What am I missing?
<ejs-grid id="Grid" dataSource="Model" allowPaging="true" queryCellInfo="queryCellInfo">
<e-grid-pagesettings pageCount="5"></e-grid-pagesettings>
<e-grid-columns>
<e-grid-column field="Created" headerText="Date" textAlign="Right" format="yMd" width="120"></e-grid-column>
<e-grid-column field="Username" headerText="Username" width="150"></e-grid-column>
<e-grid-column field="DisplayName" headerText="Full Name" width="130"></e-grid-column>
<e-grid-column field="WorkStatus" headerText="Status" width="120"></e-grid-column>
<e-grid-column headerText="Summary" template="#template" width="140"></e-grid-column>
</e-grid-columns>
</ejs-grid>
<script type="text/x-jsrender" id="template">
<a rel='nofollow' href="><span class="e-icons e-search"></span></a>
</script>
Thanks in advance.
|
Index.cshtml
<div class="control-section">
<ejs-grid id="Grid" dataSource="ViewBag.dataSource" allowPaging="true" >
<e-grid-pagesettings pageCount="5"></e-grid-pagesettings>
<e-grid-columns>
. . . . . . . .
. . . . . . . .
<e-grid-column field="ShipCountry" template="#templateAccoes" headerText="Ship Country" editType="dropdownedit" width="140"></e-grid-column>
</e-grid-columns>
</ejs-grid>
</div>
<script id="templateAccoes" type="text/x-template">
<a rel='nofollow' href=https://en.wikipedia.org/wiki/${ShipCountry}><span class="e-icons e-Reply"></span></a>
</script>
<style>
.e-Reply:before {
content: "\e815";
}
</style> |