Hi all!
I have a simple grid which is initially empty (I have autoBind false) and I fill it afterwards with the following:
grid.setDataSource(values);grid.dataSource.read();
this is working fine so far, and the grid reflects the data. The issue comes when trying to do some server-side operation, like sorting or editing data. When I click on the 'Save Changes' button, or try to sort on column, nothing happens, the controller is not reached. What am I doing wrong? Here is my grid:
$(this.sharpID).kendoGrid({ dataSource: { transport: { read: { url: "training/Read", dataType: "jsonp" }, update: { url: "training/Update", dataType: "jsonp" }, destroy: { url: "/training/Destroy", dataType: "jsonp" }, create: { url: "/training/Create", dataType: "jsonp" } }, batch: true, schema: { model: { id: "ITEM", fields: { "ITEM": { editable: true }, "AREA": { editable: false }, "YEAR": { editable: false }, "MONTH": { editable: false }, "DAY": { editable: false }, "QTY": { editable: true } } } } }, editable: true, autoBind: false, columns: structure.columns, toolbar: ["save","cancel"], sortable: { mode: "multiple" }, });
Thanks in advance.
Hi All,
If I return a blank or missing value as .property = '' (empty string) and use <span data-bind="text: property">, the span is skipped and causes layout issues. The worst being that an entire header, complete with navigation buttons, fails to show.
As an alternative, I was returning '.' (a dot rather than empty string) but this looks ugly. Finally, I am returning ' '. This required a change to <span data-bind=": property">. All is now displaying great.
I am wondering about the implications and risks of binding to rather than text. I guess the main risk is of HTML injection. Should I be worried? Is there an alternative way?
TIA,
David
Hi,
I am using kendo UI Scheduler and my resource entity employee has properties like role.I was not able to access the role into groupHeaderTemplate.
groupHeaderTemplate: "<div class=alignleft><strong><i>#=text#</i><br>#=role#</strong></div>"
Unfortunately i get referrence error : role is not deined.
Below is my data
{
text: "Adams",
value: 1,
role: "Supervisor"
}, {
text: "Anderson",
value: 2,
role: "Sr. Agent"
}
I've been looking around within the documentation but I didn't find a way
Can i get a help with the possibilities to achieve this.
My boss told me to use the kendo UI to do the odata operation which is built in functionality of the grid.
At first i told him when he told me to use the odata that we would need to modify our webapi to write odata but he said no we don thave to chanage that.
Now i have been trying to read about the Grid and trying to see if in the detail it has mentioned that what grid has to do with oData or what benfit i am getting out of it. So can you guide me please.

I am using a Kendo Grid in which all data are bounding with one fixed row checkbox as the first row of he grid (which is hard-coded) I want this row to be freezed ;For that I have used "locked = true" in the columns . But here the problem if I use this my next jquery functions are not working and foremost Let us suppose there are 10 item (pagination) for that it is showing only 9 checkboxes but If i will change item per page then It works fine how to Resolve this type of Error
One Doubt is
If I putting Checkbox Row as Locked=true then is it become outside of the parent Grid i.e required to find the particular check box for that row I am using parent function to find the particular check box of that row after putting locked=true then parent function is not working
On click of row (td) that particular checkbox should checked and if it checked then it should uncheck
If I put locked = true then my function is not working else it's working fine
My function are
function Checkboxselection(){
$('td').click(function(){
var finder = $(this).parent();
console.log(finder);
var ischecked = finder.find(".childCheckbox").prop('checked');
console.log(ischecked);
if(ischecked==true){
finder.find(".childCheckbox").prop('checked',false);
}
else{
finder.find(".childCheckbox").prop('checked',true);
}
});
}
I'm having 2 different issues with the scheduler's UI. First, the navigation buttons circled the image attached are not matching the height of the "Today" button. I haven't made any modifications to any of the css or js files so I'm not sure what is causing this issue. What can I do to fix this?
Second, the view list is dropping to a newline when the date displayed extends too far. How can I force the view list into the "collapsed" state so that my toolbar isn't so large?
Thanks,
Devin
I have a REST service that returns data. with Hal+json format. How do I consume the response in my Kendo Angular grid. My angular controller looks like this, but doesn't return anything:
...
vm.mainGridOptions = {
dataSource: {
transport: {
read: {
url: 'http://localhost:8080/people',
dataType: 'jsonp'
}
},...
.
I have a dozen or so (hierarchical) rows in a treelist that contains five columns. However, when I run JAWS, I see the grid caption and 5 x 1 (which I assume to relate to the five columns and the header row). I also see that this is the case when I run it agains the treelist demo (http://demos.telerik.com/kendo-ui/treelist/index) -- Except that I see the grid information followed by 6 x 1 (there are six columns in the demo treelist).
Is this the correct behavior of the treelist with JAWS or is there something I'm missing (and that the demo is missing)?