Hi- I have DateTime picker with Date Input as true. I want to modify the text that is displayed in the placeholders for format "MM-dd-yyyy hh:mm tt"
As per below example i set message for month as "__", day as "__' and year as "____" . My question is how i can set message for hh:mm and day period. So that my Place Holder looks like __-__-____ :__ __/__ and i can enter date with hours and minutes with AP/PM
<input id="dateinput" /><script>
$("#dateinput").kendoDateInput({
format: "MM-dd-yyyy hh:mm tt",
messages:{
month:"____",
year:"____",
day:"__",
}});</script>
I am trying to filter my grid by a date column. The problem is that the date is passed as "Thu Oct 04 2018 17:30:00 GMT+0100 (Irish Standard Time)"
while I want a date in ISO 8601 format "2018-10-14T17:30:23Z".
I'm unsure whether this is set by the DatePicker or the grid and where I can change it.
I tried to format in the filter function, but I'm getting the same result e.g.
filter: function(e) {
if (e.sender.dataSource.options.schema.model.fields[e.field].type === "date") {
e.filter.filters.forEach(function(f){
f.value = moment(f.value).toISOString();
});
}
}
Any help is greatly appreciated. It's driving me bonkers !
Hi
I wish to use only some of the js script and not the entire kendo.all.min.js
Any tips on how to bundle and minify them? as it seems I fail to do it.
I'm trying to do this using the visual studio bundle and minify extension.
Thanks
hello,
I want to use grid columns like this;
columns: [{
field: "ph___10",
width: "100px",
title:"ph",
attributes: {
class: "#=ph___10 == -10 ? 'yellow' : ph___10 < 7 ? 'green' : 'red' #"
}}]
But get error when i use field name like 'ph___10' in attributes->class.
If i use field name like for example 'ph', no problem. I have to use '_' and '10' characters.
Can u help me?
Hello,
I'm trying to stop a "destroy" request in order to insert a custom confirmation dialog. According to the documentation (https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/events/requeststart), this should be possible by calling "e.preventDefault()".
This works to prevent the request for certain types of requests such as "read", but not for "destroy". Please see this example: http://dojo.telerik.com/OmOdOcuH
Note in the developer console that the request is still made when a row is deleted despite calling "e.preventDefault()".
Is this behavior intentional or a bug? Is there a workaround?
Thanks for your help.
What .Net Objects can be used as a data source for the Kendo Grid?
Of those objects, are there preferred objects?
Do some types of data source offer better performance than others? What are they?
We have a grid that will be getting data from comma-delimited files. Many of these files may contain 100k or more records, so databinding and control rendering
performance must be high/optimal.
Hi
I'm looking for the responsive panel cdn - I don't wish to use the kendo.all.min.js
I tried this:
https://kendo.cdn.telerik.com/2017.2.504/js/kendo.responsive-panel.min.js
but it didn't work
Any help on this?
Thanks :)