4 Answers, 1 is accepted
0
Hello Jorge,
The described behaviour is not a known issue. And it was not reproducible in my testing scenario.
Could you please clarify if a custom editor is used for some of the columns in the Grid?
Also, a runnable example reproducing the issue will help us to investigate what may be causing the issue and to provide a suggestion best suited for it.
Thank you in advance.
Regards,
Stefan
Telerik by Progress
The described behaviour is not a known issue. And it was not reproducible in my testing scenario.
Could you please clarify if a custom editor is used for some of the columns in the Grid?
Also, a runnable example reproducing the issue will help us to investigate what may be causing the issue and to provide a suggestion best suited for it.
Thank you in advance.
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
0
aleks
Top achievements
Rank 2
answered on 22 Nov 2016, 10:24 PM
I' using a kendoMaskedtextbox how custom editor, this is my code:
field: "NumeroTelefonico",
title: "No. Télefonico",
width: "120px",
attributes: { style: "text-align:center;" },
editor: function (container, options) {
$('<input id="appNoTelefonico" type="tex" value="' + options.model.NumeroTelefonico + '" data-bind="value:NumeroTelefonico" maxlength="10"/>')
.appendTo(container)
.kendoMaskedTextBox({
mask: "0000000000"
});
}
0
aleks
Top achievements
Rank 2
answered on 22 Nov 2016, 11:13 PM
I'm using a kendoMaskedTextBox how custom editor
0
Hello Jorge,
Thank you for the additional information.
Please have in mind that it is not recommended to use ID as this can create a scenario where you have multiple DOM elements with the same ID. Also, the value binding is not necessary as the values from the Grid will be bound automatically.
Please check the Dojo example demonstrating how to add the custom editor and that the copy and paste are working as expected. The example is using JavaScript, but the implementation in JSP is similar:
http://dojo.telerik.com/EjOVO
I can assume that there is a custom code which may be interfering with the MaskedTextBox. In order to investigate further, please send a runnable example reproducing the issue.
Regards,
Stefan
Telerik by Progress
Thank you for the additional information.
Please have in mind that it is not recommended to use ID as this can create a scenario where you have multiple DOM elements with the same ID. Also, the value binding is not necessary as the values from the Grid will be bound automatically.
Please check the Dojo example demonstrating how to add the custom editor and that the copy and paste are working as expected. The example is using JavaScript, but the implementation in JSP is similar:
http://dojo.telerik.com/EjOVO
I can assume that there is a custom code which may be interfering with the MaskedTextBox. In order to investigate further, please send a runnable example reproducing the issue.
Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.