or
type="text/x-kendo-template" id="layout-main"01.$("#grid").kendoGrid({02. dataSource: new kendo.data.DataSource({03. data: undefined,04. serverPaging: false,05. pageSize: null,06. pageable: false,07. filter: null,08. serverSorting: false,09. serverFiltering: false,10. transport: {11. read: {dataType: "json", url: "http://demos.telerik.com/kendo-ui/service/Northwind.svc/Orders"}12. },13. sort: true,14. schema: {15. total: "count",16. data:function (response){17. console.log(response.d);18. return response.d;19. 20. },21. model: {22. ShipName: {23. type: "string"24. }, datatype: {25. type: "string"26. }, description: {27. type: "string"28. }, module: {29. type: "string"30. }, name: {31. type: "string"32. }, value: {33. type: "string"34. }35. }36. }37. }),38. columns: [{39. attributes: {40. style: "text-align: left;"41. },42. field: "ShipName",43. filterable: {44. cell: {45. operator: "contains",46. suggestionOperator: "contains"47. } 48. },49. format: undefined,50. title: "Key",51. type: "string",52. width: 15053. }],54. filterable: {55. mode: "row"56. },57. resizable: true,58. reorderable: true,59. sortable: {60. allowUnsort: false, 61. mode: "single"62. },63. scrollable: {64. virtual: false65. },66. pageable: false,67. selectable: false,68. rowTemplate: null69. 70.});
<div id="customWizardTest" data-role="wizard" data-title="TestConfigWizard" data-width="600" data-visible="false" data-template="template"/><script type="text/x-kendo-template" id="template"> <div> <input id="wizTranscoderList" data-role="dropdownlist"/> </div></script>refresh: function() { var that = this, view = that.dataSource.view(); if(view.length > 0) { that.template = kendo.template(that.options.template); var html = kendo.render(that.template, view); that.trigger(DATABINDING); that.element.html(html); that.trigger(DATABOUND); }}