2
我需要显示/隐藏删除(删除(图标)基于condition.for ex var a = 2,var b = 2; if(a = b)需要显示!icon.But A = b指隐藏的删除图标。如何做到这一点如何在剑道网格视图中添加条件
{
command: {
template: kendo.template($("#remove").html())
}, title: " ", width: "40px"
}
<script id="remove" type="text/x-kendo-tmpl">
<a href="" onclick="remove(this); return false;">
<img src="@Url.Content("~/Images/delete_icon.gif")" alt="Remove item" />
</a>
</script>