我有一个网格,显示通过command
选项创建的几列和两个按钮,如下所示:
columns: [
{"field": "titulo", "title": "Titulo"},
{"field": "start", "title": "Fecha inicio"},
{"field": "end", "title": "Fecha fin"},
{"field": "progreso", "title": "Progreso"},
{"field": "prioridad", "title": "Prioridad"},
{"field": "estado", "title": "Estado"},
{ command: [
{ text: "Ver", click: ver_detalles, className: "tiny button" },
{ text: "Borrar", click: borrar_incidencia, className: "tiny button" },
], title: "Acciones" }
],
现在我想使用我自己的rowTemplate
,但我不确定如何让Kendo将按钮放在我的自定义行中。
有没有办法做到这一点,或者我必须创建自己的按钮?