How is it possible to expand the detail row using a command button with template?
This is what I have so far, but the click event never fires.
columns: [
{
title: "",
filterable: false,
width: "60px",
command: [
{
name: "viewDetails",
text: "",
click: OnClickViewDetails,
template: "<button type='button' class=' hm-grid-btns k-button k-button-md k-button-rectangle k-rounded-md k-button-solid k-button-solid-base k-grid-viewDetails' title='View Job Details'><span id='viewDetails' class='k-icon k-i-eye k-button-icon'></span></button>"
}
]
},