Hi, I would like to request a sample example from you to know how in cell editing will work for a grid that uses column templates.
Attached is a snapshot of how my grid looks and i could not find a way to apply in cell editing for these columns. Please help.Thanks
[
{
"ID": 23,
"orderNo": "200023",
"opnNo": null,
"parentID": null,
"startDate": "/Date(987013800000)/",
"finDate": "/Date(987013800000)/",
"title": "Order 1",
"percentComplete": 0.43,
"summary": true,
"expanded": true
},
{
"ID": 27,
"orderNo": "200027",
"opnNo": null,
"parentID": null,
"startDate": "/Date(980447400000)/",
"finDate": "/Date(980447400000)/",
"title": "Order 2",
"percentComplete": 0.67,
"summary": true,
"expanded": true
},
{
"ID": 25,
"orderNo": "200025",
"opnNo": null,
"parentID": null,
"startDate": "/Date(978373800000)/",
"finDate": "/Date(978373800000)/",
"title": "Order 3",
"percentComplete": 0.56,
"summary": true,
"expanded": true
},
{
"ID": 33,
"orderNo": "200033",
"opnNo": null,
"parentID": null,
"startDate": "/Date(-62135596800000)/",
"finDate": "/Date(-62135596800000)/",
"title": "Order 4",
"percentComplete": 0.89,
"summary": true,
"expanded": true
},
{
"ID": 100,
"orderNo": "200023",
"opnNo": 10,
"parentID": 23,
"startDate": "/Date(978083400000)/",
"finDate": "/Date(978085800000)/",
"title": "Filling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 101,
"orderNo": "200023",
"opnNo": 20,
"parentID": 23,
"startDate": "/Date(978083400000)/",
"finDate": "/Date(978085800000)/",
"title": "Labeling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 102,
"orderNo": "200023",
"opnNo": 30,
"parentID": 23,
"startDate": "/Date(978085800000)/",
"finDate": "/Date(978089400000)/",
"title": "Cleaning mixer",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 103,
"orderNo": "200023",
"opnNo": 40,
"parentID": 23,
"startDate": "/Date(978085800000)/",
"finDate": "/Date(978089400000)/",
"title": "Cleaning filling line",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 104,
"orderNo": "200025",
"opnNo": 10,
"parentID": 25,
"startDate": "/Date(978428880000)/",
"finDate": "/Date(978431400000)/",
"title": "Filling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 105,
"orderNo": "200025",
"opnNo": 20,
"parentID": 25,
"startDate": "/Date(978428880000)/",
"finDate": "/Date(978431400000)/",
"title": "Labeling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 106,
"orderNo": "200025",
"opnNo": 30,
"parentID": 25,
"startDate": "/Date(978431400000)/",
"finDate": "/Date(978435000000)/",
"title": "Cleaning mixer",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 107,
"orderNo": "200025",
"opnNo": 40,
"parentID": 25,
"startDate": "/Date(978431400000)/",
"finDate": "/Date(978435000000)/",
"title": "Cleaning filling line",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 108,
"orderNo": "200027",
"opnNo": 10,
"parentID": 27,
"startDate": "/Date(980502360000)/",
"finDate": "/Date(980505000000)/",
"title": "Filling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 109,
"orderNo": "200027",
"opnNo": 20,
"parentID": 27,
"startDate": "/Date(980502360000)/",
"finDate": "/Date(980505000000)/",
"title": "Labeling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 110,
"orderNo": "200027",
"opnNo": 30,
"parentID": 27,
"startDate": "/Date(980505000000)/",
"finDate": "/Date(980508600000)/",
"title": "Cleaning mixer",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 111,
"orderNo": "200027",
"opnNo": 40,
"parentID": 27,
"startDate": "/Date(980505000000)/",
"finDate": "/Date(980508600000)/",
"title": "Cleaning filling line",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 112,
"orderNo": "200033",
"opnNo": 10,
"parentID": 33,
"startDate": "/Date(987068520000)/",
"finDate": "/Date(987071400000)/",
"title": "Filling",
"percentComplete": 0.4,
"summary": false,
"expanded": true
},
{
"ID": 113,
"orderNo": "200033",
"opnNo": 20,
"parentID": 33,
"startDate": "/Date(987069240000)/",
"finDate": "/Date(987071400000)/",
"title": "Labeling",
"percentComplete": 0.2,
"summary": false,
"expanded": true
},
{
"ID": 114,
"orderNo": "200033",
"opnNo": 30,
"parentID": 33,
"startDate": "/Date(987071400000)/",
"finDate": "/Date(987075000000)/",
"title": "Cleaning mixer",
"percentComplete": 1,
"summary": false,
"expanded": true
},
{
"ID": 115,
"orderNo": "200033",
"opnNo": 40,
"parentID": 33,
"startDate": "/Date(987071400000)/",
"finDate": "/Date(987075000000)/",
"title": "Cleaning filling line",
"percentComplete": 1,
"summary": false,
"expanded": true
}
]
This issue is occurring in Chrome, I have not tried other browsers.
The issue can be observed in demo http://demos.telerik.com/kendo-ui/autocomplete/serverfiltering
Note the minLength: 3 setting.
Type in "che" per the hint. Developer tools network activity will show the $filter parameter as [ substringof('che',tolower(ProductName)) ]. All fine and good.
Now clear "che" by clicking on clear (x). The network activity tab will show a Products call back with a $filter parameter [ substringof('',tolower(ProductName)) ]. The minLength setting was obviously ignored and the filter actually pulls _all_ the data from the remote source. In the example it is 77 items. For real world scenarios an unfiltered query could return an application destroying amount of data. Despite pulling all the data, no suggestions are shown -- I presume because at this point the minLength is honored and thus no suggestions
Q: How can I prevent an unfiltered query when clear clicked ?
Q: How can I force the autocomplete data source to have no items when clear is clicked ?
Thanks, Richard
Hi!
Please have a look at this demo: http://dojo.telerik.com/AWamE
Last 2 columns should behave the same. Only difference between then is the format specifier, once is '%' second is 'prc'.
But they are not. The '%' sees the column as percentage, so:
1. Multiplies the value I give with 100
2. When editing, % remains in place, even though in the second part it disappears. I would like to have it gone
Any ideas on how to make the % fields behave just like other format specifiers?
Thanks!
all,
I am using MVC scheduler and have created using a custom template editor. In the editor template, I set the end date via jquery based on parameters that the user selects. When I select to save the schedule is not updating correctly and show the default 30 minute. If I refresh the page I see the correct date. Right now I have it so after a save I refresh the page but that's not very efficient. If I manually edit the end date, it works correctly.
I am wondering if this is a bug or I maybe I am not setting the end date properly.
I did look at the sample on the how you can dynamically set the date and time. I know this is correct but doesn't seem to work in the .
Thanks in advance for the help,
-Max
Hi,
How can I bind to the expand or collapse event from code? I tried:
$("#collapsibleDiv").on("expand", function () {
alert("expand");
});
without sucess.
Kind regards,
Marco