Hi
I have an master detail grid in Jquery but how could i force "detail" grid in initialisation step ?
Regards
In order to make an example of a real-time changing bullet chart, I hope that it's possible to bind the series data to the value of slider.
Currently I understand chart can use source binding, but I wonder if it's possible to bind one of series data of bullet chart to the value of slider (for example, the current value is bound, and target, category, color are fixed).
Take this for example:
<input data-role="slider" data-bind="value: selectNumber">
<div data-role="chart" data-series="[{ type: 'bullet', currentField: 'current', targetField: 'target', colorField: 'color', target: { color: 'black' } }]" data-bind="source: dsChart"></div>
I hope that I can only bind the current value instead of a whole data source (dsChart) to the value of slider (selectNumber).
Furthermore, I also don't know how to bind the data source (dsChart) to the value of slider (selectNumber).
Can anyone give me a hint or an example?
Thanks.
Hi,
I tried the following code to refresh the list items of a ComboBox widget, but it didn't work. It didn't trigger a data retrieval call. Not sure what's wrong.
widget.dataSource.read();
widget.refresh();
The data source is created as follows:
new kendo.data.DataSource({
serverFiltering: true
transport: {
read: {
url: "xxxx",
dataType: "json",
data: function (e) {
// some code to dynamically prepare the call parameters
},
type: "POST"
}
},
schema: {
data: function (response) {
if (response != null) {
var result = JSON.parse(response);
return (result.Data != null ? result.Data : "");
} else {
return "";
}
}
}
});
Please advise. Thanks.
What I would like to do is call the Save As Excel from an external button, show a progress spinner instead of the button, and when the export is finished show the button again. This is to let the user know longer running exports are processing and not to keep clicking the button.
Here is some example code that fires the hide immediately after the save is called.
$('#export').click(function (e) {
showProgress();
e.preventDefault();
$('#Results').getKendoGrid().saveAsExcel();
// Bug: This processes immediately, need to wait for saveAsExcel to finish.
hideProgress();
});
Guys I have been trying to find a clean way to organize Kendo spreadsheet codes. I want to add separate file for all the settings (all configuration of the sheet) and separate JS file for all the methods. I was wondering if you guys have a working example for that?
Thanks & Regards
Iffat
Hey! We are currently experiencing some problems customizing our event templates in scheduler component, especially the option "eventTemplate" to scheduler and questions regarding this event-template.
Is there any possibility to add custom event-buttons like the "destroy"-icon to the right or bottom span 'k-event-bottom-actions' or 'k-event-actions'?? That would be very helpful.
With this there goes a second question -> any chance to make the event template "full-width". To explain myself: There will never be buttons in the right panel 'k-event-actions' (providing the first question can be solved) and therefore the full width for the template could be used, but kendo scheduler always leaves space reserved on the right side of the template.
Thanks in advance.
Thomas
I am trying to follow the official doc to learn how to use a custom view on scheduler. But the catch is that I am using it in Angular 5 and importing the view from a JS script. So, I am getting the following error - https://pastebin.com/p4gLuKfv
The JS file is this - https://pastebin.com/Xy9tcY6J
The Angular Component File is this - https://pastebin.com/0p1xHPus
It would be helpful, if someone can point me to why the error is happening.
I saved file in server with unique name. so i change the file name while uploading. My issue is, when I upload file, I need to update the k-files to show only changed name. but now, it is displaying original file name.
$("#MediaFiles").kendoUpload({ async: { removeUrl: "/Pepsico/Remove", saveUrl: "/Pepsico/Save", autoUpload: true }, files: $scope.pepsicoNomination.MediaFiles, validation: { allowedExtensions: [".pdf"] }, upload: fileUplaodValidation, success: onMediaSucess, error: onError }); function onMediaSucess(e) { if (e.response.media == "") { $scope.$apply(function () { $rootScope.showFailureMsg("There is an issue while uploading your file. Please contact customer support"); }); var fileStatus = document.getElementsByClassName('k-upload-status-total') $(fileStatus).hide(); } else { $scope.pepsicoNomination.MediaFiles.push({ name: e.response.media }); } }
Here files in kendo upload not update after success.
Is there any way to update files?
Thanks
Hi
Why filter on EmployeeId field is not good ?
Regards