Telerik Forums
Kendo UI for jQuery Forum
1 answer
89 views
I am very new to Kendo, as I am evaluating it for adoption into our product.  I've created a plugin composite control that contains a combobox and was wondering how I can go about setting the width of the combobox within the plugin?
Troy
Top achievements
Rank 1
 answered on 16 May 2012
2 answers
554 views
Does anyone have some samples of how kendoWindow is supposed to be used/configured to display an ajax loaded content dialog box with inputs they need to be passed to the controlling code? For example, I am trying to bring up a dialog which accepts the username and password for an application. The calling module is actually a class, so visibility from within the content is not available from the content page. If the window is destroyed after the close is clicked, then the parent object can no longer see the content tags. What is the "right" way to do this.
Steven
Top achievements
Rank 1
 answered on 16 May 2012
1 answer
176 views
If i want to use my remote data for binding the grid, what is the schema format to be followed for getting the data.

1. what is type: "odata" ?
2. what is the procedure to be added for my operational contract to get the schema with supports remote data binding. 

 type: "odata",
     transport: {
                            read: "http://demos.kendoui.com/service/Northwind.svc/Orders"
                        },
Iliana Dyankova
Telerik team
 answered on 16 May 2012
1 answer
254 views
Is there a way to enable multi select without having to hold the ctrl key?

Thanks,
Joe
Iliana Dyankova
Telerik team
 answered on 16 May 2012
4 answers
184 views
Hi I am new to Kendo UI. This is great I like it. I have a problem. I have the data in the following format:

var data = [{ "Region": "Pakistan", "OS": "Windows", "Rank": 1, "TotalUsers": 265 },
                     { "Region": "United States", "OS": "IPhone", "Rank": 1, "TotalUsers": 145 },
                     { "Region": "United States", "OS": "Android", "Rank": 1, "TotalUsers": 125 },
                     { "Region": "India", "OS": "Android", "Rank": 1, "TotalUsers": 32 }
                     ];

I want to show the "Region" wise data. Like, in which region (Region), which operating system(OS)  is used by how many users (TotalUsers).  I referred to the following article to solve this problem, but all in vain.

http://www.kendoui.com/forums/ui/chart/multiple-series-in-datasource-dynamic.aspx

Below is my complete code:

 $(document).ready(function () {

     //Note that there may be as many regions as there are countries in the world. So I need to add the chart series dynamically.

      var data = [{ "Region": "Pakistan", "OS": "Windows", "Rank": 1, "TotalUsers": 265 },
                     { "Region": "United States", "OS": "IPhone", "Rank": 1, "TotalUsers": 145 },
                     { "Region": "United States", "OS": "Android", "Rank": 1, "TotalUsers": 125 },
                     { "Region": "India", "OS": "Android", "Rank": 1, "TotalUsers": 32 }
                     ];

         var dataSource = new kendo.data.DataSource({
             data: data,
             group: {
                 field: "Region",
                 dir: "asc"
             }
         });

         dataSource.read();
         var view = dataSource.view();
         var chartSeries = [];

         for (var groupIx = 0; groupIx < view.length; groupIx++) {
             var group = view[groupIx];
             chartSeries.push({
                 field: "TotalUsers",
                 name: group.value
             });
         }


         $("#chart").kendoChart({
             theme: $(document).data("kendoSkin") || "default",

             transitions: true,

             title: {
                 text: "My Chart Title"
             },
             seriesDefaults: {
                 type: "column",
                 stack: true

             },

             dataSource: data,

             series: chartSeries,


             tooltip: {
                 visible: true,
                 format: "{0}"
             },


             categoryAxis: {
                 field: "OS",
                 labels: {
                     rotation: 45

                 }
             }
         });
     });
   
Attached is an example of the desired chart.
Jeffrey
Top achievements
Rank 1
 answered on 16 May 2012
2 answers
200 views
Reference Url

$("#grid").kendoGrid();
$("#grid").data("kendoGrid").refresh();

All of this ceremony caused frustration and so we decided to eliminate it by supporting method chaining. With this latest service pack, you'll be able to write JavaScript that's more readable:

$("grid").kendoGrid("refresh");

------------------------------------------
So what's the deal here?  We're to pass in method names as a string?  Cant just do...?
$("#grid").kendoGrid().refresh();
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 16 May 2012
1 answer
147 views
I am using Kendo grid to display the search results to used. I doing it following way but it is always giving error " Unable to get value of the property 'length': ". I checked and my json string is in correct format.

var pagePath = "Default.aspx";
 var fn = "getMenuData"
            var dataSource = new kendo.data.DataSource({
                
                transport: {
                    read: {
                        dataType: "json",
                        url: pagePath + "/" + fn,
                        contentType: "application/json; charset=utf-8",
                        type: "POST"
                    }
                },
                schema: {
                    data: "data"
                }
            });

           $("#grid").kendoGrid({
                dataSource: dataSource,
                height: 350,
                scrollable: true,
                sortable: true,
                filterable: true,
                pageable: true,
                groupable: true,
                columns: [{ title: "Menu ID", field: "MenuID" },
                    { title: "Menu Name", field: "MenuName"}]
            });

Also, how can I make it to that when user enter any value in the textbox on the page and clicks search button, the kendo grid updates its data to show search results. I tried rebind but it didn't work.

Thank you,
J
Carlos Adriano
Top achievements
Rank 1
 answered on 16 May 2012
4 answers
123 views
I have a chart with 90-degree rotated category axis.
categoryAxis:{
    categories:names,
    labels:{rotation:90}
},

This works fine in FireFox 12, but in IE9 (64 bit) running on Windows7 I am getting hierogliphics. I have done nothing special with the font settings in the browser, so it seems the default for charts is an Arial or Verndana type font.

Horizontal labeling is working fine. (the data is remotely driven, so creating a JsFiddle would take a little work).

Dr.YSG
Top achievements
Rank 2
 answered on 16 May 2012
2 answers
333 views
In what way do I query the current page shown by the scrollview widget from Javascript?
Ron
Top achievements
Rank 1
Veteran
 answered on 16 May 2012
3 answers
107 views
Hi, I have a grid with edition inline, with a problem.
When I edit a row, later save changes, it's working fine, but when I try edit the same row again, it gets an error, without none error message.
What can be happening?

Igor
Top achievements
Rank 2
 answered on 16 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?