{
id: "tbl_last_position",
borderless: true,
view: "datatable", select: true,
activeContent: {
deleteButton: {
id: "deleteButtonId",
view: "button",
label: "Delete",
width: 120
},
editButton: {
id: "editButtonId",
view: "button",
label: "Edit",
width: 80
},
markCheckbox: {
view: "checkbox"
}
},
columns: [
{id: "id", header: "#", width: 60},
{id: "nopol", header: [{content: "textFilter", placeholder: "Search Nopol"}], width: 130},
{id: "tdate", header: "Date", width: 125},
{id: "speed", header: "Speed", width: 100},
{id: "address", header: "Address", width: 300},
{id: "vh_id", header: "Action", template: "<div class='buttons'>{common.deleteButton()}</div>", width: 130}
]
}
Why deleteButton not appear in cell?