or

var dataExample = [ { name: "Example", description: "Embedded <strong>html</strong> in property" }];<div data-role="view" id="portfolio" data-init="portfolioViewInit"> <ul id="select-portfolio" data-index="0"> <li> Web </li> <li> Mobile </li> <li> Print </li> </ul> <!-- Web --> <div data-role="scrollview"> <div data-role="page" class="image ref1"></div> <div data-role="page" class="image ref2"></div> <div data-role="page" class="image ref3"></div> </div> <!-- Mobile --> <div data-role="scrollview" style="display:none"> <div data-role="page" class="image ref1"></div> <div data-role="page" class="image ref2"></div> <div data-role="page" class="image ref3"></div> </div> <!-- Print --> <div data-role="scrollview" style="display:none"> <div data-role="page" class="image ref1"></div> <div data-role="page" class="image ref2"></div> <div data-role="page" class="image ref3"></div> </div></div><script id="rowTemplate" type="text/x-kendo-tmpl"> <tr data-id="${ Id}"> <td> ${ Description} </td> </tr></script><table id="mytable"> <thead> <tr> <th> Description </th> </tr> </thead> <tbody> <tr> <td colspan="1"> </td> </tr> </tbody> </table>$("#mytable").kendoGrid({ dataSource: { transport: { read: "/api/details/get" }, pageSize: 10 }, height: 250, filterable: true, sortable: true, selectable: "row", change: onChange, pageable: true, editable: "popup", toolbar: kendo.template($("#template").html()), rowTemplate: kendo.template($("#rowTemplate").html()) }); });read: { url: _webservicePath + "/GetMyFoods", type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", data: { userid: getCurrentUserID(), sortOrder: getSortOrder() } },