我是kendo-ui的新手。我正在将kendo-ui与angularjs集成。我希望在单个单元格中显示两个按钮。我不知道如何实现这一点。
这是我的代码:
<div id="mygrid" kendo-grid k-data-source="products"
k-pageable='{ "refresh": true, "pageSizes": true }'
k-columns='[
{ "field": "ProductName", "title": "Name"},
{ "field": "Supplier.SupplierName", "title": "Supplier" },
{ "field": "Category.CategoryName", "title": "Category" },
{ "template": "<button class=\"k-button\" ng-click=\"clickMe(#=ProductID#)\">Delete this item</button>", "title": "Delete" }
]'
k-sortable="true", k-groupable="true", k-filterable="true"
>
</div>
<div kendo-window="modal" k-title="'Title'" k-visible="false" k-modal="true">
Product Id clicked: {{ productId }}
</div>