Hi,
I want to use a different template according to model for Detail Grid. I saw 2 links with similar expecting features for this. The first one didn't render anything and the second one render the template, but my AngularJs ng-show is not working. When I use the template 1 (I have 3 templates) directly (to see the results, it works). So, it is only when I use it in the directive that it does not work.
Any idea?
Thank you
Hi,
Is it possible to create the custom popup editor dynamically? I have a grid merging different objects would like like to change popup editor dynamically. Usually, I used this form and it works fine:
editable: { mode: "popup", template: kendo.template($("#allRequestEditGridTemplate").html()), confirmation:"@Html.Raw(@LocString["STR_DeleteConfirmation"])",},However, I would like use something like this and it does not work. I got correct template shown, but no update button....
edit: function (e) { var editWindow = this.editable.element.data("kendoWindow"); if(e.model.CategoryType == 1 /*Document*/) { editWindow.content($("#docEditTemplate").html()); } else if(e.model.CategoryType == 2 /*Piping*/) { editWindow.content($("#pipingEditTemplate").html()); }}
Thank you for your help
Hi
Please see screen attached. Any ideas why this may occur. I am looking for any pointers, as a starting point for my research.
Regards
<input type="checkbox" value="option1" data-question="1" data-min="1" data-max="3"><input type="checkbox" value="option2" data-question="1" data-min="1" data-max="3"><input type="checkbox" value="option3" data-question="1" data-min="1" data-max="3"><input type="checkbox" value="option4" data-question="1" data-min="1" data-max="3"><input type="checkbox" value="option5" data-question="1" data-min="1" data-max="3"><script type="text/x-kendo-template" id="template"> <div class="toolbar" style="float: left"> <label class="customers-label" for="customers">Filter details by customer:</label> <input type="search" id="customers" style="width: 150px"/> </div> <div class="toolbar""> <label class="shops-label" for="shops">Filter details by shop:</label> <input type="search" id="shops" style="width: 150px"/> </div></script>rowTemplate: kendo.template($("#rowTemplate").html()),toolbar: [{ name: "create" },{ name: "save" }, { name: "cancel" }],
Hi,
I read many thread talking about grouping not working with row template, but didn't find my problem with grouping and column template.
I have a simple grid (simplified version) here:
groupable: true, filterable: { extra: false }, toolbar: ["create"], columns: [ { command: ["edit", "destroy"], title: " ", width: "200px" }, { field: "Number", title: "Numéro", width: 140 }, { field: "Parent", title: "Parent", template: "#= Parent == null ? '' : Parent.Number #", editor: projectDropDownEditor, filterable: { extra: false, field: "Parent.Number" } } ],
Because my parent column is a column template based on an object with Number and Id, grouping is not working. Do you have any idea how to fix it?
Thank you for your help

$input.kendoMaskedTextBox({ mask: '000-000-0000', pattern: '\\d*'});Nothing crazy going on there. It works as designed, i.e. when typing in numbers or pasting a phone number or filling the field with jQuery, it will remove non-numeric characters and format it with the hyphens.
The problem I'm running into is with a tool called Dashlane, which is a password/autofill utility. When I choose a phone number that was saved in Dashlane to populate my phone field, Dashlane has the number saved as "1234567890" and that is what gets put into the masked textbox.
The Kendo mask does not seem to account for this type of input. I'm guessing the Dashlane extension is manually setting the `value` property of the DOM element, which is not triggering a keyboard event or something. I think it is triggering the `onchange` event, though. Seems like the Kendo mask may need to watch for value changes as well. After DL updates the value, the field doesn't mask it and the mask is just straight-up broken after that.
Has this ever been brought up before? Has anyone else encountered this problem? Is there anything I can do to make sure the mask doesn't get broken using Dashlane's autofill?
Hi,
Below is my code in which URL is not routing to Controller page.Here domain is my local system URL.there is a div tag with id = detailId.trim() (detailID value is dynamically created while loading the web page).Can someone help me here.
function detailInit(e) {
var detailRow = e.detailRow;
var detailId = detailRow.find(".catNumber").text();
var dataSource1 = new kendo.data.DataSource({
transport: {
read: {
url: domain + "Ethno/GetMediaMetaData",
data: { id: '' + detailId.toString() },
dataType: "json"
}
},
parameterMap: function (options) {
return kendo.stringify(options);
}
});
$("#detailListView_" + detailId.trim()).kendoListView({
dataSource: dataSource1,
template: kendo.template($("#detailMediaTemplate").html()),
selectable: true,
change: onChange
});
}
I'm trying to set up some PDF exporting for an application running on an IBM Domino server. I'm trying use the DejaVu font stored locally, and whenever I try to generate the PDF the GET request for the font appends ?v=1.1 to the end and apparently this server does not like that; gives a 'Bad Request" error. Is there an API way I can not have the ?v=1.1 append to the GET request? Or can I use the long form of jquery ajax call so I can specify url as parameter rather than using .then()?
Example code: (pretty much the same as the online demo example)
// Convert the DOM element to a drawing using kendo.drawing.drawDOM
kendo.drawing.drawDOM($(".content-wrapper"))
.then(function(group) {
// Render the result as a PDF file
return kendo.drawing.exportPDF(group, {
paperSize: "auto",
margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" }
});
})
.done(function(data) {
// Save the PDF file
kendo.saveAs({
dataURI: data,
fileName: "PDF-Sample.pdf"
});
});
Example GET request when code above is executed:
https://servername/path/fonts/DejaVu/DejaVuSans-Bold.ttf?v=1.1