Dear KendoUI Team!
Is it possible to realize s.th. like this with KendoUI when using AJAX Binding?
{
commands.Edit().ButtonType(GridButtonType.Image);
commands.Delete().ButtonType(GridButtonType.Image);
commands.Custom("CopyItem")
.Action("CopyItem", "Le")
.Ajax(true)
.HtmlAttributes(new { id = "CopyItemDetails" })
.DataRouteValues(route => route.Add(i => i.Rid).RouteKey("ItemID"))
.ButtonType(GridButtonType.Image)
;
}).Title(Strings.Commands).Visible((bool)ViewData["Writable"]);
What I found is that the custom command should be replaced by a column template. But I want the copy command in the command column, not in a separate column. And I need the ItemID of the row, of course.
How can I realize this with KendoUI?
brgds
Malcolm Howlett
Is it possible to realize s.th. like this with KendoUI when using AJAX Binding?
columns.Command(commands =>{
commands.Edit().ButtonType(GridButtonType.Image);
commands.Delete().ButtonType(GridButtonType.Image);
commands.Custom("CopyItem")
.Action("CopyItem", "Le")
.Ajax(true)
.HtmlAttributes(new { id = "CopyItemDetails" })
.DataRouteValues(route => route.Add(i => i.Rid).RouteKey("ItemID"))
.ButtonType(GridButtonType.Image)
;
}).Title(Strings.Commands).Visible((bool)ViewData["Writable"]);
How can I realize this with KendoUI?
brgds
Malcolm Howlett