Telerik Forums
Kendo UI for jQuery Forum
1 answer
33 views
Hi,

I made a LineChart with (in the javascript):
categoryAxis: {categories: ['Mars(2012)', 'Avril(2012)', 'Mai(2012)', 'Juin(2012)', 'Aout(2012)', 'Sept(2012)',]},

I would like to decrease the width of the Graph, and so display for each category:

       month
       (year)


Thanks
Iliana Dyankova
Telerik team
 answered on 08 Mar 2013
1 answer
2.2K+ views
I have a page that will have a dynamically created number of Kendo NumericTextBox items (in a grid). Each of those has a unique ID, and I need to discover in the change event handler which box is being changed. It is impossible to pass a custom parameter to the event handler (otherwise, I would simply pass the relevant part of the ID as a parameter). The demos and documentation are completely unhelpful, as while they outline the change event handler, there is no code to show how to

Things I have tried:
this.id
this.name
this.attr("id")
$(this).id
$(this).name
$(this).attr("id")
e.target

The specific question is this: how can I discover the ID of the NumericTextBox that fired the change event?
The general question is this: where can I find documentation on the properties and methods of the event argument parameter?

Thanks.
Alexander Valchev
Telerik team
 answered on 08 Mar 2013
3 answers
347 views
Hello Telerik,

We are using Kendo Grid Control to display a large amount of data, and the pageable is set to true. We add a template column of a checkbox within each row to make a multiselection scenario. But the checkbox status will not stay there after switching page.

So i was wondering how could archieve this, or is there another work around?
Nikolay Rusev
Telerik team
 answered on 08 Mar 2013
3 answers
88 views
If an optional parameter is missing, it is undefined. However, if a globbing parameter is missing, then it is an empty string.

Wouldn't it be consistent, if a missing globbing parameter would also be undefined?

Michael G. Schneider
Petyo
Telerik team
 answered on 08 Mar 2013
3 answers
269 views
Hi,

I am doing a POC for one of the project where I am required to show data in KendoUI Grid coming from WCF service. 

I've tried to create a sample but seems like no luck.

I looked around but couldn't figure out exact working sample. I've created a sample application. In Default.aspx page I am trying to get data from a WCF service i.e. HTML5Service.svc residing withing the same project. 

A simple call to service is done as shown below
../HTML5Service.svc/list
When I make a call using simple HTMl5.html page it gets called. But when I am trying to make a call through kendoGrid's datasource it's not getting called. 
<!DOCTYPE html>
 
<html>
<head>
    <title> Hello Kendo UI</title>
    <link href="Content/kendo/2012.3.1114/kendo.common.min.css" rel="stylesheet" />
    <link href="Content/kendo/2012.3.1114/kendo.default.min.css" rel="stylesheet" />
</head>
<body>
    
    <div id="employeesGrid"></div>
 
    <script src="Scripts/jquery-1.8.3.min.js"></script>
    <script src="Scripts/kendo/2012.3.1114/kendo.web.min.js"></script>
 
    <script>
        $(function () {
 
            $("#employeesGrid").kendoGrid({
                dataSource: new kendo.data.DataSource({
                    transport: {
                        read: "../HTML5Service.svc/list"
                    }
                })
            });
        });
    </script>
</body>
</html>


A quick help will be highly appreciated. Since it help us to use kendoUI or not as our most of the business is dependent on WCF service. 

Thanks!!
Rosen
Telerik team
 answered on 08 Mar 2013
2 answers
206 views
Hi
    When using multi-axis chart, if the data item is more than 10,  the vertical axis of the chart should have been fixed  on the right will float to the chart on the page, whether this can be configured

thanks



$("#chart1").kendoChart({
            theme: $(document).data("kendoSkin") || "default",
            title: {
                text: "Hybrid car mileage report"
            },
            legend: {
                position: "top"
            },
            series: [{
                type: "column",
                data: [20, 40, 45, 30, 50,8,6,12,6,8,1],
                stack: true,
                name: "on battery",
                color: "#cc6e38"
            }, {
                type: "column",
                data: [20, 30, 35, 35, 40,8,2,5,9,2,7],
                stack: true,
                name: "on gas",
                color: "#ef955f"
            }, {
                type: "area",
                data: [30, 38, 40, 32, 42,6,7,1,4,9,6],
                name: "mpg",
                color: "#ec5e0a",
                axis: "mpg"
            }, {
                type: "area",
                data: [7.8, 6.2, 5.9, 7.4, 5.6,6,7,8,2,7,7],
                name: "l/100 km",
                color: "#4e4141",
                axis: "l100km"
            }],
            valueAxes: [{
                title: { text: "miles" },
                min: 0,
                max: 100
            }, {
                name: "km",
                title: { text: "km" },
                min: 0,
                max: 161,
                majorUnit: 32
            }, {
                name: "mpg",
                title: { text: "miles per gallon" },
                color: "#ec5e0a"
            }, {
                name: "l100km",
                title: { text: "liters per 100km" },
                color: "#4e4141"
            }],
            categoryAxis: {
                categories: ["a","b","c","d","e","f","h","i","j","k","e"],
                axisCrossingValues: [0, 0, 10, 10]
            }
        });



Yan
Top achievements
Rank 1
 answered on 08 Mar 2013
0 answers
105 views
answered my question... dunno how to delete the post
Varun
Top achievements
Rank 1
 asked on 07 Mar 2013
18 answers
477 views
Hi,
We are currently in the process of evaluating Kendo UI Data VIZ.
One feature we are looking for is the chart navigator (zoom) pane.
Unfortunately , It looks like it exists only in the Stock Chart but not in the "regular" chart.
We would like to use a line / area / Column/ Combination chart which contain non date x-axis with navigator pane.
Can I expect this feature in the near future.

Thx
Sagi
Intel. Corp.
Victor
Top achievements
Rank 1
 answered on 07 Mar 2013
1 answer
120 views
I'd like a discussion about when to use widgets and when to use templates.

I use custom widgets quite a lot in my current (first) KendoUI Web project. And I think it's going well. The widgets do require a bit of boilerplate code, but I think they are straight forward to use and it is nice to have everything, html, bindings and behaviour nicely packaged.

Now I need a detailstemplate in a grid and my first thought was I like to use a widget there aswell. Then I was a bit hesitatious, am I overdoing things? Should I be using templates instead of widgets?

Thanks
Alexander Valchev
Telerik team
 answered on 07 Mar 2013
1 answer
40 views
Hi,

i like to use my own icons in my app.

<a href="#tabstrip-geolocation" data-icon="MyIcon" calss="unlock">Test</a>

But how do i add a "data-icon" to my project?

Thanks
WW
Steve
Telerik team
 answered on 07 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?