Hi all,
I built the custom JS of Window widget by command below, the window is working but the upper right corner doesn't show action icons (Pin/Minimize/Maximize/Close).
npx gulp custom -c window
From the screenshot attached, you can see there is still finger cursor when mouse over the upper right corner, if I click it, the browser console shows error below:
Uncaught TypeError: /\bk(-svg)?-i(-\w+)+\b/.exec(...) is null
jQuery 16
viewEmail email_template_log_list.php:124
<anonymous> :1
kendo.custom.js:10130:16
However, there is no any problem if I simply use ./dist/js/kendo.ui.core.min.js instead of ./dist/js/kendo.custom.min.js . Is it a bug or I've missed something?
Hello,
Can anyone help me locate references or documentation on how to customize the SVG of a linear Gauge?
Basically, I want to create a Battery Gauge. (example attached)
We are testing 2023.3.1114. I checked the release notes of 2024.1 and didn't see anything. We are using LitElement to make a custom control that creates the kendoSwitch as show below. Not sure what is triggering the 2nd event. Although, I think
initWidget() {
const selector = '#' + this.elemId;
const chkMsg = (typeof this.checkedMsg === 'string') ? this.checkedMsg : 'yes';
const unchkMsg = (typeof this.uncheckedMsg === 'string') ? this.uncheckedMsg : 'no';
const options = {
checked: this.isChecked,
enabled: this.isEnabled,
messages: {
checked: chkMsg,
unchecked: unchkMsg,
},
change: (e) => {
this.updateValue(e.checked);
}
};
$(selector).kendoSwitch(options);
}
updateValue(newValue) {
// fire a change event to the element
$(this).trigger(CHANGE, [newValue]);
this.textValue = String(newValue);
this.requestUpdate();
}
greetings,
I am currently migrating from kendo version 2015.2.902 to 2023.1.314 for some of the company's core applications and I have the following problem.
When adding the create command to any grid, adding a new row is not working, if I disable the following code in the ondatabound event
function onGridDataBound() {
/*$('.k-grid-add').unbind("click");*/
$('.k-grid-add').bind("click", function () {
if (esModuloAtributos() && configuradorUtils.mode === "edit") {
setKendoDropDownInitSelection("xxxx");
setKendoDropDownInitSelection("xxxxx");
} else if (esModuloAgrupaciones() && configuradorUtils.mode === "edit") {
setKendoDropDownInitSelection("xxxx");
setKendoDropDownInitSelection("xxxxxx");
}
$("#Todos").prop("checked", false);
return validaFiltros();
});
}
The grid works to create and add the new row, but it does not maintain the functionality that if x condition is met it should add the row.
Hi there,
Currently I try to export data from a grid with details, however when I trigger the event export the UI generate the next error.
Code: In this object we have the data.
The code run until at the end and after this is the message.
I am using the documentation and examples, but dont works too.
https://docs.telerik.com/kendo-ui/knowledge-base/detail-grid-export
Another thing I reviewed that work with angular.
Thank you for your help !
Hi there, can you please tell me if this is a bug? or if I'm doing something wrong.
I get this error when I try to read 2000 records in from API, it says "Maximum call stack size exceeded". The response is retrieved but when the results are not showing in the Org Chart. They do show when I read 1000 records.
HI,
I am using Kendo jQuery.
FileManager is not showing the folder names , instead it is showing as "undefined".
Version :
<!-- Kendo UI -->
<script src="~/lib/kendo-ui-2023.3.1010/js/kendo.all.min.js"></script>
<script src="~/js/kendo-ui-license.js" type="text/javascript"></script>
Visual Studio C# backend response
c# Code :
public virtual JsonResult OnPostFileManagerRead(string target)
{
try
{
........
........
var files = directoryBrowser.GetFiles(path, Filter);
var directories = directoryBrowser.GetDirectories(path);
var result = files.Concat(directories).Select(f => new
{
Name = f.Name,
Size = f.Size,
Path = VirtualizePathString(f.Path),
Extension = f.Extension,
IsDirectory = f.IsDirectory,
HasDirectories = f.HasDirectories,
Created = f.Created,
CreatedUtc = f.CreatedUtc,
Modified = f.Modified,
ModifiedUtc = f.ModifiedUtc
});
return new JsonResult(result.ToArray());
}
catch (DirectoryNotFoundException)
{
throw new Exception("File Not Found");
}
}
throw new Exception("Forbidden");
}
catch(Exception ex)
{
return new JsonResult(ex);
}
}
Query :
1. What might be the issue ?
2. How can i resolve this issue ?
Hi. I have a single JSON Array like this:
[{
"country": "Spain",
"year": "2008",
"unit": "GWh",
"solar": 2578,
"hydro": 26112,
"wind": 32203,
"nuclear": 58973
}];
And, What I want to do is make this single array into a chart. (I hope the name of the series is the same as the axis text.)
Like this.
but, If I write code like this... All series are included in one category. How can I solve this?
var tempData = [{
"country": "Spain",
"year": "2008",
"unit": "GWh",
"solar": 2578,
"hydro": 26112,
"wind": 32203,
"nuclear": 58973
}];
$("#chart").kendoChart({
dataSource: {
data : tempData
},
series:
[{
field: "nuclear",
name: "Nuclear"
}, {
field: "hydro",
name: "Hydro"
}, {
field: "wind",
name: "Wind"
}],
categoryAxis: {
categories: ["Nuclear", "Hydro", "Wind"]
}
});
Hello,
I am debugging my code using Kendo Dojo example, https://demos.telerik.com/kendo-ui/editor/custom-tools, then click "Edit in Kendo UI Dojo" https://dojo.telerik.com/uyaWeQeb .
Here's the code I added to the example in tools array:
,{
name: "addTagv2",
tooltip: "Add a tag/segment",
label: "tag/segment",
template: '<button style="padding-left: 5px !important;" type="button" name="#: name #" title="#: tooltip #">#: label #</button>'
},
{
name: "editTagv2",
tooltip: "Edit a tag/segment",
label:"tag/segment",
template:'<button style="padding-left: 5px !important;" type="button" name="#: name #" title="#: tooltip #">#: label #</button>'
}
However, when I inspect the buttons I see the following HTML rendered:
<button style="padding-left: 5px !important;" type="button" name="Dojo output" title="Add a tag/segment" tabindex="-1">tag/segment</button>
<button style="padding-left: 5px !important;" type="button" name="Dojo output" title="Edit a tag/segment" tabindex="-1">tag/segment</button>
Where is "Dojo output" coming from? Is "name" a reserved word or property for the tool button.
Thanks,
James
Thanks,
James