angular ui grid在单元格temlpate中调用html.action链接

时间:2016-11-04 11:07:00

标签: angularjs user-interface grid

{
    name: 'Actions', width: '30%', enableFiltering: false, enableSorting: false, enableColumnMenu: false,
    cellTemplate: '<div class="grid-action-cell">' +
                  '<a @Html.ActionLink("ViewByHtml", "GetCountryById", "Country", new { id= "row.entity.inCntId" },  new { data_modal = "", id = "{{row.entity.inCntId}}" })>{{row.entity.inCntId}} </a>' +                      
                  '</div>'
}

0 个答案:

没有答案