or
<body> <div id="chart" style="width: 200px"></div><script>$("#chart").kendoChart({ chartArea: { background: "", height: 20, margin: 0, }, legend: { visible: false }, series: [{ type: "bar", data: [80], color: 'cornflowerblue', tooltip: { visible: false }, highlight: { visible: false }, margin: 0, gap: 0, spacing: 0, }], panes: [ { clip: false, margin: 0 } ], categoryAxis: { line: { visible: false, }, labels: { visible: false, }, majorGridLines: { visible: false }, }, valueAxis: { line: { visible: false, }, labels: { visible: false, }, majorGridLines: { visible: false }, max: 100, },});</script></body>@model = List<Vimeo.Models.Album>public class Album { public string Title { get; set; } public List<Video> Videos { get; set; } public Album() { Videos = new List<Video>(); } }public class Video { public string VideoId { get; set; } public string VideoUrl { get; set; } public string Album { get; set; } public List<string> Tags { get; set; }}@model List<Vimeo.Models.Album><div ng-controller="GridController"> <kendo-grid options="mainGridOptions"></kendo-grid></div><script id="template" type="text/x-kendo-template"> <tr data-uid="#= uid #"> <td class="videoThumbnail"><iframe id="embed" src="#: VideoUrl #" width="WIDTH" height="HEIGHT" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></td> <td>#: VideoId #</td> <td>#: VideoUrl #</td> <td>#: Album #</td> </tr></script><script> var model = @Html.Raw(@Json.Encode(Model)); var albums = { album: { "Title": "title", "Videos": [{ "VideoId":"VideoId", "VideoUrl": "VideoUrl", "Album": "Album", "Tags": [ "safety" ]}] }}; var dataSource = new kendo.data.HierarchicalDataSource({ schema: albums, data: model }); angular.module("app", ["kendo.directives"]) .controller('GridController', function($scope) { $scope.mainGridOptions = { dataSource: dataSource, columns: [ { field: "VideoUrl", title: "Video", width: "200px" },{ field: "VideoId", title: "Video Id", width: "120px" }, { field: "VideoUrl", title: "Video Url", width: "120px" }, { field: "Album", title: "Album", width: "120px" }], rowTemplate: kendo.template($("#template").html()) } });</script>@Code Html.Kendo().Grid(Of FILEDOWNLOAD.ViewModel.DownloadViewModel.Index)() _ .Name("gridFileDownload") _ .Columns(Sub(c) c.Bound(Function(p) p.ID).Width(30).HtmlAttributes(New With {.class = "gridBodyAttribute"}) c.Bound(Function(p) p.Attachment).Width(250)..Title("Attachment") c.Bound(Function(p) p.FileSize).Width(100).Title("File Size") End Sub) _ .Sortable() _ .Filterable() _ .Scrollable() _ .HtmlAttributes(New With {.style = "height:550px;width:100%;"}) _ .DataSource(Sub(d) d.Ajax() _ .PageSize(Session(LocalConstant.Ses_GridPageSize)) _ .Model(Sub(model) model.Id(Function(p) p.ID)) _ .Read(Function(read) read.Action("Download_Read", "FILEDOWNLOAD")) End Sub) _ .Pageable(Function(pageable) pageable _ .Refresh(True) _ .PageSizes(True) _ .ButtonCount(Session(LocalConstant.Ses_GridButtonCount))).Render() End Code