with_external_id
答案 0 :(得分:0)
您可以使用rowTemplate
更改kendoUI的模板
<div id="grid"></div>
<script id="template" type="text/x-kendo-template">
<tr data-uid="#= uid #">
<td colspan="2">
<strong>#: name #</strong>
<strong>#: age #</strong>
</td>
</tr>
</script>
<script>
$("#grid").kendoGrid({
dataSource: [
{ name: "Jane Doe", age: 30 },
{ name: "John Doe", age: 33 }
],
rowTemplate: kendo.template($("#template").html())
});
</script>
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/rowtemplate