Telerik Forums
Kendo UI for jQuery Forum
1 answer
125 views
Hi, how do i get values for the GROUP aggregates to use in my own function.  This works with grid aggregates but I can't access the group aggregates for field "channel".

group: {
     field: "channel", aggregates: [
        { field: "sales_7_days", aggregate: "sum" },
        { field: "current_inventory", aggregate: "sum" }
         ]
},

Then in the field:
groupFooterTemplate: "#=kendo.toString(doMath('weeks_inventory'), 'n1')#"

The function doMath is using ds.aggregates() which works for grid level but not for group level!

Please help!
Thanks!
Sal
Top achievements
Rank 1
 answered on 25 May 2012
5 answers
245 views
When constructing a treeview, is it possible for me to provide a template to use when rendering the data provided in the dataSource object?
Mike
Top achievements
Rank 1
 answered on 25 May 2012
1 answer
67 views
Hi Guys,

Are there any limitations in storing local data in backend. Means how much data can we store in backend.

thanks,
prashant
Prashanth
Top achievements
Rank 1
 answered on 25 May 2012
3 answers
109 views
Hello,

I am using Kendo datasoure with kendo grid for inline editing.
When i add/create a new row, the new row is posted to my create URL(i am using post). my problem is in the query params, the value of the id field is zero, is there a way to make it empty or remove it from the query string, in some js event.before posting it to the create url.

Thanks.
Prashanth
Top achievements
Rank 1
 answered on 25 May 2012
2 answers
109 views
We are trying to use custom validation on our site.

We have some basic "required" fields. setup as so:
<div id="divOrderConfirmation" class="container">
                            <input type="checkbox" name="chkReadTerms" id="chkReadTerms" required="required"
                                validationmessage="Please read the terms and conditions" />
</div>


Then we create a validator and call validate like so:
var valConfirmation = $("#divOrderConfirmation").kendoValidator().data("kendoValidator");
if (!validator.validate()) {alert('Yoinks');}

When we try to access this simple page it goes crazy with any iPad or iPhone. Has anyone else had problems?

http://aligntoday.com//sales/register.aspx 

http://jsfiddle.net/grippstick/KHfMb/ 
Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 25 May 2012
0 answers
70 views
Good morning.
In the grid there is a bug, when you have configured in a grid with paging virtualremote. It is grouped by a column and then scroll to page does, this makes several calls to the server and crashes. 

thanks 
Lerovi
Top achievements
Rank 1
 asked on 25 May 2012
2 answers
71 views
If I configure a datasource to query a web service (.asmx) with a group method, it sends a Request Body of

group%5B0%5D%5Bfield%5D=MaximoRequestNumber&group%5B0%5D%5Bdir%5D=asc

Which causes an Invalid JSON primitive error.  Is there a way to group the data without having the dataSource send the grouping option to the service?  I know that I can group in the grid's dataBound method, but if I refresh the dataSource, it sends the dreaded group string as non-JSON text in the Request Body and it errors.
var readOrdersSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: webServiceBaseUrl + "getOrderedTransformers",
            contentType: 'application/json; charset=utf-8',
            type: "POST",
            dataType: "json"
        }
    },
    schema: {
        data: "d",
        model: {
            id: "id",
            fields: {
                id: { type: "number" },
                MaximoItemNumber: { type: "string" },
                MaximoRequestNumber: { type: "string" },
                AddedBy: { type: "string" },
                AddDate: { type: "datetime" },
                KVA: { type: "number" },
                PrimaryVoltage: { type: "string" },
                SecondaryVoltage: { type: "string" },
                OilType: { type: "string" },
                Phase: { type: "number" }
            }
        }
    },
    group: {
        field: "MaximoRequestNumber"
    },
    parameterMap: function (options) {
        return JSON.stringify(options)
    }
});
Cyndie
Top achievements
Rank 1
 answered on 25 May 2012
0 answers
126 views
Hello,

I have a combobox in the inline edit mode of the grid. (PropertyName is the datatextfield and PropertyID is the datavaluefield). The combo box works fine in the edit mode. When I try to add a new record, it works fine for the first record but if add a second record it gives me a javascript error in the kendo.min.js.

Please find the attached javascript file.

Thank you
Kavitha
Kavitha
Top achievements
Rank 1
 asked on 25 May 2012
0 answers
128 views
Hi,

Im implementing a kendo ui listview in my asp.net mvc3 application. Im able to edit  all the fields but I want to implement a drop down list in one of my fileds after editing and assign static values to it which reflects back to the listview and as well as to the controller. Can u jst plz provide any sample or information  for this.


Thanks and regards,
Bhavani,
Bhuvis Info Solutions.
Durga Bhavani
Top achievements
Rank 1
 asked on 25 May 2012
14 answers
303 views
When I set the tooltip format on the range slider, it's not changing the tooltip format, it's changing the tick label formatting...tooltip is entirely unaffected.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 25 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?