Allen4Tech
Allen4Tech

Reputation: 2184

How to put a command and a field into one column kendoui grid

I want to put a command and a field together in my column. Currently, my solution is define a template as below

var commentsTemplate = "<input class='comments-button' type='image' src='images/comments_button.png' />#: COMMENTS #";

Is it possible to put a kendo-ui command and field into one column?

Thanks

Upvotes: 0

Views: 78

Answers (1)

calinaadi
calinaadi

Reputation: 1466

A command column will render a button in the column cells that triggers the command. If you need something else beside that you need to use a template.

Upvotes: 1

Related Questions