Hello Austin,
Please take a look at this Telerik Dojo illustrating how to add a row via an external button.
Here's the code I used for the Kendo button and my add function:
addRow() adds an empty data item to the Kendo Grid.
Hope this helps.
Regards,
Patrick
Telerik
Please take a look at this Telerik Dojo illustrating how to add a row via an external button.
Here's the code I used for the Kendo button and my add function:
$("#btnCreate").kendoButton({
click: add
});
function add(){
var grid = $("#grid").data("kendoGrid");
grid.addRow();
}
addRow() adds an empty data item to the Kendo Grid.
Hope this helps.
Regards,
Patrick
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!