or
I'm stuck with a data source and a grid. The data is to be shown in a grid but I can't get it too work.
<div id="grid"></div> <script> $(document).ready(function() { var d={"count":0,"subTotal":0,"items":{"sku":"dvdwinf","title":"Doctor Who: Inferno","price":19.95,"format":"DVD","url":"drwho/doctor-who-inferno/dvdwinf","quantity":1}} $("#grid").kendoGrid({ dataSource: { data: d, pageSize: 10 }, schema: { data: "items" }, height: 250, scrollable: true, sortable: true, pageable: true, columns: [ { field: "sku", title: "First Name" }, { field: "title" } ] }); }); </script>The data to show will be a from a web service but for now it is hot-wired in there for testing. The JSON object is properly formatted and the EXACT data is used with a jQuery AJAX request elsewhere and used just fine. Any ideas?
$(".kendoddl").kendoDropDownList(); It worked fine until I added two drop-downs on the same page. They interfere with each other and stop working after a few clicks. Is using classes to initialize, as shown above, not supported?
<ul id="kendoMenu"> <li><a href="/">Thèmes</a> <ul> <li<a href="/Rapports/HEB_QUE">Hébergement au Québec 1</a></li> <li><a href="/Rapports/ENT_FRO">Entrées à la frontière</a></li> </ul> </li> <li>domirich <ul> <li><a href="/Account/LogOff">Déconnexion</a></li> </ul> </li> <li>Pilotage <ul> <li><a href="/Pilotage/Autorisations">Gestion des autorisations</a></li> <li><a href="/Pilotage/Sources">Gestion des sources</a></li> <li><a href="/Pilotage/Concepts">Gestion des thèmes</a></li> </ul> </li></ul><script type="text/javascript"> $(document).ready(function () { $("#kendoMenu").kendoMenu( { direction: "bottom" }); });</script>