My Goal:
Put text on a command button in a grid row, and pop up a "details" window when clicked.
Problem:
1) I can create a command button that works, but I am unsure the syntax to put my data custom text on the button.
2) I can create a templated button that contains my text, but will not seem to execute my popup!
I believe it's a problem with my syntax as I have just begun using this object. Here is a snippet of what I have:
1) { command: { text: "!", name: "ShowAllDetails", click: showAdminDetails, title: "View Contact Details..." }, title: " ", width: "80px" }
2) { template: '<input type="button" id="ShowAdminDetail" onclick="showAdminDetails(dataItem);" class="k-button k-grid-CustomCommand" title="Show Admin Contact Info..." value="#= getButtonText(data) #" />' }
Thanks in advance, I would like to get them BOTH working the same way so that I can better understand how these items function.