I'm totally new to Telerik and the example that I want to build upon is defined in this style:
<kendo-grid name="grid" height="550">
<columns>
<column field="Facility_Id" title="Facility"/>
<column field="Name" title="Name"/>
when I look for hints on what is possible, I find only this style:
$(document).ready(function () {
var grid = $("#grid").kendoGrid({
columns: [
{ field: "FirstName", title: "First Name", width: "140px" },
{ field: "LastName", title: "Last Name", width: "140px" },
{ field: "Title" },
{ command: { text: "View Details", click: showDetails }, title: " ", width: "180px" }]
}).data("kendoGrid");
Which is the preferred one and where do I find examples for the first style please?
Thanks