Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

telerik mvc grid add row

var grid = $("#grid").data("kendoGrid");
grid.addRow(); // Exclusive for empty rows (no data)

// or go through the dataSource to add data
grid.dataSource.add({
  field1: val1,
  field2: val2
});

// You can also use insert
grid.dataSource.insert(idx, {
  field1: val1,
  field2: val2,
})
Source by docs.telerik.com #
 
PREVIOUS NEXT
Tagged: #telerik #mvc #grid #add #row
ADD COMMENT
Topic
Name
7+7 =