// change from: mainTabs.select('#' + mainTabActive); themeTabs.select('#' + themeTabActive ); mainTabs.reload('#' + mainTabActive );// to this: mainTabs.select(mainTabs.tabGroup.children('#' + mainTabActive)); themeTabs.select(themeTabs.tabGroup.children('#' + themeTabActive ));$jQ = jQuery.noConflict();$jQ(document).ready(function($) { /* TABS SECTION */ var mainTabs =$('#tabs').kendoTabStrip().data("kendoTabStrip"); var themeTabs = $('#theme-tabs').kendoTabStrip().data("kendoTabStrip"); var mainTabActive = $.jStorage.get("mainTab"); var themeTabActive = $.jStorage.get("themeTab"); mainTabs.select('#' + mainTabActive); themeTabs.select('#' + themeTabActive ); mainTabs.reload('#' + mainTabActive ); //MainTab $( '#tabs' ).click(function(e) { var selectedTab = e.currentTarget.id; $.jStorage.set("mainTab", selectedTab); }); //theme tabs $( '#theme-tabs' ).click(function(e) { var selectedTab = e.currentTarget.id; $.jStorage.set("themeTab", selectedTab); });});So I made a page from the Splitter demo -- With the intention to put a Menu or Treeview in the left-hand panel. I was looking to assemble a page from different panels with a different widget in each. When I load that simple idea as page the menu or treeview (doesn't matter) only shows as a HTML mark-up and not showing as a Kendo widget.
I'd like it if someone or me finds out how to to something simple like that -- Combining Kendo widgets? My second curiosity, is to figure out how to load that left-hand splitter with a menu or treeview thing via ajax.
Really; I wanted to put three or four of these coool loooooking wiiiiidegets on-screen ensemble. It doesn't seem to be so sweet to effect that. I worked that I need to get an element loaded before asking a jQuery or Kendo element to work with it.
I'm interested as a beginner -- What are the effective and simple ways to assemble a page-layout using widgets, static content, and/or ajax loads?
That's my beginner question ...
ADD your question ... !
Many thanks ... Will
var localDataSource = new kendo.data.DataSource({ data: skills, schema: { model: { fields: { CatId: { type: "number" }, SkillCat: { type: "string" }, Skill: { type: "string" }, IsCorrect: { type: "string" } } } } }); var grid = $("#grid").kendoGrid({ dataSource: localDataSource, columns: [ { field: "Skill" }, { field: "IsCorrect" } ], height: 470, pageable: true, scrollable: true, dataBound: function () { localDataSource.group({ field: "CatId" }); grid.collapseGroup(grid.tbody.find(">tr.k-grouping-row:first")); for (i = 1; i <= 6; i++) { grid.collapseGroup(grid.tbody.find(">tr.k-grouping-row").eq(i)); }; } });
I really want to know if it is (or shortly will be?) possible to create multiple windows and charts on a page, without having to embed other pages (which would seem the HTML5 way of doing things).
If it is - how do I do it?
Currently the best I've got is:-
<script type="text/javascript"> $("#window").kendoWindow({ draggable: true, resizable: true, width: "480px", height: "300px", title: "Discharges", content: "http://findev1/WCF/dischargeswidget.htm", modal: false, actions: [ "Close"] }); $("#window2").kendoWindow({ draggable: true, resizable: true, width: "480px", height: "300px", title: "Admissions", content: "http://findev1/WCF/AdmissionsWidget.htm", modal: false, actions: ["Close"] });</script>
Which still has issues.
Thanks
<script type="text/javascript"> $(document).ready(function() { var template = kendo.template($("#template").html()); var dataSource = new kendo.data.DataSource({ transport: { read: { dataType: "jsonp", } }, schema: { data: "" } }); dataSource.read(); }); </script>HTTP/1.1 200 OKCache-Control: privateContent-Length: 748Content-Type: application/json; charset=utf-8Server: Microsoft-IIS/7.5X-AspNet-Version: 4.0.30319X-Powered-By: ASP.NETAccess-Control-Allow-Origin: *Date: Wed, 07 Dec 2011 16:28:04 GMT[{"EventID":"HL111213","InhomeDate":"12\/13\/2011 12:00:00 AM"},{"EventID":"HL120117","InhomeDate":"1\/17\/2012 12:00:00 AM"},{"EventID":"HL120214","InhomeDate":"2\/14\/2012 12:00:00 AM"},{"EventID":"HL120313","InhomeDate":"3\/13\/2012 12:00:00 AM"},{"EventID":"HL120410","InhomeDate":"4\/10\/2012 12:00:00 AM"},{"EventID":"HL120515","InhomeDate":"5\/15\/2012 12:00:00 AM"},{"EventID":"HL120612","InhomeDate":"6\/12\/2012 12:00:00 AM"},{"EventID":"HL120717","InhomeDate":"7\/17\/2012 12:00:00 AM"},{"EventID":"HL120814","InhomeDate":"8\/14\/2012 12:00:00 AM"},{"EventID":"HL120911","InhomeDate":"9\/11\/2012 12:00:00 AM"},{"EventID":"HL121016","InhomeDate":"10\/16\/2012 12:00:00 AM"},{"EventID":"HL121113","InhomeDate":"11\/13\/2012 12:00:00 AM"}]<script id="template" type="text/x-kendo-template"> <div class="tweet k-header"> #= EventID # </div> </script>