1

我有一个网格,其中显示了通过该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 将按钮放在我的自定义行中。

有没有办法做到这一点,或者我必须创建自己的按钮?

4

0 回答 0