Hello,
I have ViewModel that has Array. "TicketVMList" .
Code:
TicketviewModel= kendo.observable({
TicketVMList: @Html.Raw(Json.Encode(Model)),
GetTicketNumber: function(e) {
debugger;
GetTicketNumberProcess(e);
},
OnTicketTstCheck: function(e) {
debugger;
OnTicketTSTCheckProcess(e);
} });
Initially it bind using :
kendo.bind($("#TicketItemContainer"), TicketviewModel.TicketVMList); //works well
but there is click event on which i am making ajax call and i send this TicketVMList and it load some values inside it and send in response. On success i have tried various ways to refresh UI with new response that i received ( TicketItemContainer is Div that i am binding to )
success: function (result) { debugger;
//kendo.unbind($("#TicketItemContainer"));
//kendo.bind($("#TicketItemContainer"),result);
kendo.unbind($("#TicketItemContainer"));
TicketviewModel.TicketVMList = result; kendo.bind($("#TicketItemContainer"), TicketviewModel.TicketVMList);
//var vm2 = kendo.observable(result);
//$.extend(TicketviewModel.TicketVMList, vm2); //kendo.bind($("#TicketItemContainer"), TicketviewModel.TicketVMList);
kendo.ui.progress($("#TicketItemContainer"), false);
},
Even have tried commented but it work.
We are using version 2017.2.504
And I am trying to set the text on the Clear button without success. The other buttons are getting the correct text. Below is the configuration used:
async: {
saveUrl: "save",
removeUrl: "remove",
clear: "clear",
autoUpload: false,
allowmultiple: true,
batch: false },
template: kendo.template($("#fileTemplate").html()),
localization: {
select: $scope.translation.SelectFiles,
dropFilesHere: $scope.translation.DropFilesHere,
headerStatusUploading: $scope.translation.Uploading,
headerStatusUploaded: $scope.translation.Done,
remove: $scope.translation.Delete,
clear: $scope.translation.Delete,
uploadSelectedFiles: $scope.translation.UploadFiles
},
Hello,
we have a SharePoint solution and use kendo, but do not load kendo with requirejs. A customer has second solution installed, which uses requirejs to load his modules. Kendo now recognises that there is requirejs registered in the site and doesnt put the modules in the global namespace.
Is there a way to disable the loading through requirejs for the kendo modules or a workaround to handle such a scenario?
Thanks in advance!
Michael
I am trying to get the listbox control into my existing application. I dropped the basic example into my page and the layout is not good. See attached screenshot. I'm not sure what I can change without breaking something else. I am using bootstrap.
Markup and CSS is directly from the example, only difference is I'm instantiating the listbox in a javascript file.
Hi there,
i have a custom button in the command cell of my grid and bind a custom icon to this button, like in this example.
dataBound: function (e) {
e.sender.tbody.find('.k-button.ownIcon').each(function (idx, element)
{
$(element).find('span').addClass('k-icon k-i-delete');
});
}
After clicking the cancel Button with "inline" editing the custom icon dissapears. I tried to add the icon a second time when the cancel event is fired, but at this time my custom button is not initialized. Is there any event after this, that i can reach to redraw the icon?
We have 4 record tracking columns UserID & Date, One set for create and one set for last modified. We initially have them all hidden in our grid. When using the grid context menu you cannot tell one set from the other because it only shows the group title in the menu. I could probably live with that, but if you unhide only one of the 2 in the group. You do not get the grouping title and there cannot tell which one it is. Below is the grid code for the 4 columns described.
//CREATED COLUMNS
columns.Group(groupCR => groupCR
.Title("Created").HeaderHtmlAttributes(new { @style = "text-align:center;" }).Hidden(true)
.Columns(CRgrp =>
{
CRgrp.Bound(p => p.CREATE_USERID).Width(100).Title("User").Width(80).ClientTemplate("<
a
onMouseOver=\"showName(this, '#=CREATE_USERID#')\">#=CREATE_USERID#</
a
>");
CRgrp.Bound(p => p.CREATE_DT).Format("{0:d}").Title("Date").Width(80);
})
);
//MODIFIED COLUMNS
columns.Group(groupMD => groupMD
.Title("Modified").HeaderHtmlAttributes(new { @style = "text-align:center;" })
.Columns(MDgrp =>
{
MDgrp.Bound(p => p.MODIFIED_USERID).Width(100).Title("User").Width(80).ClientTemplate("<
a
onMouseOver=\"showName(this, '#=MODIFIED_USERID#')\">#= MODIFIED_USERID != null ? MODIFIED_USERID : '' #</
a
>");
MDgrp.Bound(p => p.MODIFIED_DT).Format("{0:d}").Title("Date").Width(80);
})
);
Any help would be appreciated.
From what I understand a change in how IE and Edge works is causing new and unwanted behavior with the gid filters in Kendo UI. The filter control text fields now have drop-down suggestion text like 1.00, 2.00, 45.00 (even if it is a date filter).
Replication
Cause
From what I can understand IE and Edge now assume all <input ...>'s are autocompleate="on" even when they have no autocomplete attribute. This does not happen in Chrome. Using the debugger to manually add the autocomplete ="off" in Edge fixes it. However (code side) there is no easy way to add attributes using only CSS.
I have attached a screenshot showing what is happening on the Telerik Demo site.
Using current kendo demo page at:
http://demos.telerik.com/kendo-ui/grid/local-data-binding
...and using Bootstrap v3 theme: see the attached picture where the top-right corner of the grid is missing the background-color.