This does the trick :-)
columns.Command(command =>
{
command.Custom("Edit").Click("showDetails");
command.Custom("Delete").Click("DeleteDetails");
command.Custom("View").Click("ViewDetails");
}).Title("Actions");
.Events(e => e.DataBound("onRowBound"))
<script type="text/javascript">
function onRowBound(e) {
$(".k-grid-Edit").find("span").addClass("k-icon k-edit");
$(".k-grid-Delete").find("span").addClass("k-icon k-delete");
$(".k-grid-View").find("span").addClass("k-icon km-view");
}
</script>
No hay comentarios:
Publicar un comentario