Telerik Forums
Kendo UI for jQuery Forum
1 answer
79 views
I have been reviewing your demos here and believe I have found an error/typo: http://demos.kendoui.com/dataviz/api/index.html

Under Configuration > series > type="line" you have a "stacked" property that can be set.  However, when I set this property to true my series do not stack.  I noticed that under "View Code" that instead of a "stacked" property, a "stack" property is used.  I changed my code to use "stack" instead of "stacked" and the series now stack as expected.  Is this a typo under Configuration > series > type="line"?

Thanks,
Sara
Hristo Germanov
Telerik team
 answered on 20 Mar 2012
1 answer
286 views
Hi

I'm trying to override this CSS for the Text box validation but it doesn't work and i dont know if im missing anything there.

.k-textbox .k-tooltip-validation
{
     margin-left: -20px !important;
}

thanks
Dimo
Telerik team
 answered on 20 Mar 2012
1 answer
57 views
So here is my problem, I have a page design to work on that is, in theory a 3 x 3 grid like this...

    X X X
    X X X 
    X X X

Where each X is a thumbnail. So far, no problem! Except the grid REALLY looks like this....

    * X X
    X * * 
    X * X

Where the * is a empty space ( a blank placeholder graphic ). The pattern will never change. The question is how can I inject some smarts into the grid templating (native or combined with JQuery templating) that will "skip" an iteration but not gobble up the data intended for that space?

Ken

Alexander Valchev
Telerik team
 answered on 20 Mar 2012
1 answer
153 views
Hi,

I'm trying to put two (or more) Kendo Grids on my page; both grids use a separate oData request to load their data, i.e. with a data source of type:'odata'.

Having either of those grids on the page works fine, but having both of them in the same page does not work: the columns for both grids are shown, but neither grid has any data rows.

I noticed that both oData requests get the following querystring param + value: $callback=callback

I'm not entirely sure how the callback thing works, but shouldn't the values have been different? For example, $callback=grid1callback and $callback=grid2callback, respectively?

If this is indeed the problem, is there a way to override the $callback value?
Rosen
Telerik team
 answered on 20 Mar 2012
4 answers
523 views
Hi,
I am trying to bind JSON data with KENDO grid but can't figure out how to do it. following is the snippet of my code

            <script type="text/javascript">
                $(document).ready(function () {
                    $("#grid").kendoGrid({

                        height: 360,  groupable: true, scrollable: true, sortable: true, pageable: true,

                        columns: [{field: "name",title: "Name"},{field: "number",title: "Number"},{field: "type",title: "Type"},
                                        {field: "low",title: "Low"},{field: "high",title: "High"},{field: "status",title: "Status"}],

                        dataSource: {
                            transport: {
                                read: {
                                        // the remote service url
                                    url: "/DomainService/KendoDomainService.svc/json/GetSpt_values",
                                        // JSONP is required for cross-domain AJAX
                                    dataType: "jsonp"}}},

                                    schema: {
                                        // the data which the data source will be bound to is in the "results" field       
                                        //data: "GetSpt_valuesResult"
                                    }});});

            </script>

When i run above URL in my browser, i get data from json. So, i have data and i have the kendo grid. The data i am fetching from the MasterDB (SQL SERVER) SPT_VALUES table.

the data snippet is as follow:

{"GetSpt_valuesResult":{"TotalCount":2506,"RootResults":
[{"high":null,"low":null,"name":"rpc","number":1,"status":0,"type":"A "},
{"high":null,"low":null,"name":"pub","number":2,"status":0,"type":"A "},
{"high":null,"low":null,"name":"sub","number":4,"status":0,"type":"A "},
{"high":null,"low":null,"name":"dist","number":8,"status":0,"type":"A "}
]}}

Could you please help my in binding data as i am really new to the jquery.

Kind Regards,
waseem

Waseem
Top achievements
Rank 1
 answered on 20 Mar 2012
0 answers
74 views
I am looking at applying row wise data type validations for my kendo grid(editable).
for e.g. row 1 - accepts string values only
row 2 accepts number values only.
Right now i can apply column wise data type by model/schema fields definitions.
Is there a way to define this row wise ?

thanks in advance

mahesh
Mahesh
Top achievements
Rank 1
 asked on 20 Mar 2012
0 answers
58 views
I am looking at applying rowwise datatype validations for my kendo grid(editable).
for e.g. row 1 - accepts string values only
row 2 accepts number values only.
Right now i can apply column wise datatype by model/schema fields definitions.
Is there a way to define this row wise ?

thanks in advance

mahesh
Mahesh
Top achievements
Rank 1
 asked on 20 Mar 2012
2 answers
186 views
Hi,

I would like to bind Kendo Grid using Ajax enabled WCF and returning a data either in json or xml format. But the problem is that my kendo UI Grid is not binding with my web service. The webservice returns the data without any problem. Any help would be greatly appreciated.

Webservice Data :

{"d":["20417","20418","20419","20420","20421","20422","20424","20425","20426","20427","20443","20480","20489","20491","20492","20495","20497","20498"]}

[ServiceContract(Namespace = "QS")]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
public class PSService
{
     
    [OperationContract()]
    [WebGet(BodyStyle = WebMessageBodyStyle.WrappedRequest)]
    public string[] GetJobs()
    {
        try
        {
            StringBuilder sb = new StringBuilder();
            sb.Append("select ID from ff_job");
            string sql = sb.ToString();
            DataTable dt = Database.Instance.ExecuteQueryToDataTable(sql);
            List<string> IJobList = new List<string>();
            string sJobID;
            foreach (DataRow dr in dt.Rows)
            {
                sJobID = dr["ID"].ToString();
                IJobList.Add(sJobID);
            }
            return IJobList.ToArray();
        }
        catch (Exception ex)
        {
            Console.WriteLine(ex.Message.ToString());
            return null;
        }
 
    }


<div id="grid">
</div>

<
script type="text/javascript">
       $(document).ready(function () {
           $("#grid").kendoGrid({
               dataSource: {
                   type: "odata",
                   transport: { read: "http://localhost:3444/BootStrap/PSService.svc/getjobs" },
                   pageSize: 10
               },
               schema: {
                   model: {
                       fields: {
                           ID: { type: "number" }
 
                       }
                   }
               },
               height: 360,
               groupable: true,
               scrollable: true,
               sortable: true,
               pageable: true,
               columns: [{
                   field: "ID",
                   width: 90,
                   title: "Job No."
               }]
           });
       });
   </script>
Muhammad
Top achievements
Rank 1
 answered on 20 Mar 2012
1 answer
54 views
Hello,

 I downloaded and gone through the demos. We have requirement of  Doughnut Chart types .
 Is kendo UI supported by Doughnut Chart types ..?

Thanks,
Rajesh
Hristo Germanov
Telerik team
 answered on 20 Mar 2012
1 answer
103 views
It´s possible to build range chart to display on ipad?

Where can I find examples?

Thanks!
Iliana Dyankova
Telerik team
 answered on 20 Mar 2012
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?