Hello
i need to change custom command icon depend on row field for instance "Status" i tried this code but it doesn't work
@using EliteInsurer.Areas.Admin.Dto;On previous updates, selected filters are showing in blue colour.
But now even applying single or multiple filters still color not changed.
Hi,
I need to send some dynamic parameters, (path and others), when uploading files from js.I cannot work out how to set the CHILD grid column widths and positions. I can set all the master grid column widths and positions.
When calling grid.getOptions(), I can only see a reference to the MASTER grid column properties.
I can set all the master grid column widths and positions with this function:
var grid = $("#kdClaimStatus").data("kendoGrid");
function setColumFormat(){
var options = localStorage["grid-column-options"];
if (options) {
var parsedOptions = JSON.parse(options);
var columns = parsedOptions.columns;
grid.setOptions({ columns: columns });
}
}
But I cannot work out how to set the CHILD grid column widths and positions. I have searched Telerik documentation and cannot find any solution.
$("#spreadsheet").kendoSpreadsheet({
sheets: sheets,
toolbar: {
home: [
{
type: "button",
text: "Full Screen",
showText: "overflow",
icon: "k-icon k-i-full-screen",
click: function () {
if (document.fullscreenElement) {
document.exitFullscreen();
} else {
$('#spreadsheet').get(0).requestFullscreen();
}
}
}
]
}
});
Hello Teacher:
My front-end code:
var dataSource = new kendo.data.DataSource({
type: "aspnetmvc-ajax",
pageSize: 25000,
serverPaging: false,
serverGrouping: false,
batch: true,
transport: {
read: {
url: urlRead,
data: kendo.antiForgeryTokens(),
type:"GET"
},
create: {
url: urlCreate,
data: kendo.antiForgeryTokens(),
cache: true,
},
update: {
url: urlUpdate,
data: kendo.antiForgeryTokens(),
cache: true,
},
destroy: {
url: urlDestroy,
data: kendo.antiForgeryTokens(),
cache: true
},
parameterMap: function (data, type) {
//if (type == "create") {
// // send the created data items as the "models" service parameter encoded in JSON
// return { models: kendo.stringify(data.models) };
//}
}
},
//requestStart: function() {
// kendo.ui.progress($("#"+gridName), true);
//},
//requestEnd: function() {
// kendo.ui.progress($("#"+gridName), false);
//},
sync: function (e) {
},
schema: {
data: "Data",
total: "Total",
errors: "Errors",
model: model,
errors: function (response) {
//ShowNotification(response);
return response.error;
}
},
error: function (e) {
//ShowNotification("Error");
dataSource.cancelChanges();
}
});
//dataSource.bind("error", function () { ShowNotification("dsError") });
grid.setOptions({
dataSource: dataSource,
persistSelection: true,
navigatable: true,
resizable:true,
reorderable:true,
dataBound: function (e) {
if (e.sender.dataSource.view().length > 0) {
e.sender.select("tr:eq(0)");
grid.trigger("change");
grid.unbind("dataBound");
}
}
});
Processing data in batches, I don't know how the frontend sends backend requests and how the backend receives requests?
Hi team,
I need to limit the number of entries in an editable grid.
Consider the following dojo:
https://dojo.telerik.com/eDeDEtAM
Number of rows is limited to 2. Works fine before 2023-R1-SP1 and fails since.
I tried to find a workaround without success. I tried beforeEdit event but it fails aborting creation of a new row...
It's a regression issue, please help!
Best regards,
Laurent.
I was asked a question a long time ago, but due to communication difficulties I never received the answer I requested.
I've created two example links to ask my question.
To find a unit price of 9,000 won or more in the program below:
Enter ">9000" in the Unit Price field.
This is a feature I developed.
https://www.speedmis.com/_mis/index.php?gubun=3032&isMenuIn=Y&isAddURL=Y
-->
https://www.speedmis.com/_mis/index.php?gubun=3032&isMenuIn=Y&allFilter=[{"operator":"contains","value":">9000","field":"dangga"}] &recently=N&isAddURL=Y
You cannot enter ">9000" if the field is defined as a number.
https://www.speedmis.com/_mis/index.php?gubun=1247&isMenuIn=Y
There was also an auto-completion function when writing numbers.
Special coding allows completion to begin automatically rather than in a number box between numbers.
Please edit the link below if you wish. thank you
https://dojo.telerik.com/OroMIBAK
During the close event, I observed a second Ajax call. Is this expected behavior?
after typing cha
after the close event