This is a migrated thread and some comments may be shown as answers.

jQuery Error - When I press Tab out of editable cell

3 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bilal
Top achievements
Rank 2
Bilal asked on 30 Mar 2015, 07:56 PM
Hi,
I have a simple Grid, editable.

Some of the columns are numbers, hence Grid displayed NumericTextbox by default to edit them.

When I change value and press Tab out of the cell, I receive the following error in log:

b.event.dispatchjquery.min.js:3 v.handlejquery.min.js:3 b.event.triggerjquery.min.js:4 (anonymous function)jquery.min.js:3 b.extend.eachjquery.min.js:3 b.fn.b.eachjquery.min.js:4 b.fn.extend.triggerkendo.all.js:5563 (anonymous function)jquery.min.js:3
b.extend.eachjquery.min.js:3 b.fn.b.eachjquery.min.js:4 b.fn.extend.triggerkendo.all.js:5563 (anonymous function)

Any idea why that's happening?

Thanks

3 Answers, 1 is accepted

Sort by
0
Atanas Georgiev
Telerik team
answered on 01 Apr 2015, 12:47 PM

Hello Bilal,

I was unable to reproduce the issue in our online demos. Can you please create an isolated runnable example in a Kendo UI Dojo, where the issue is present and we will be happy to take a look?

Regards,

 

Atanas Georgiev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Bilal
Top achievements
Rank 2
answered on 01 Apr 2015, 07:05 PM
I must have mixed up when posting. My issue is with custom editor being a NumericTextBox. I posted here about it before:
http://www.telerik.com/forums/custom-editor-in-grid---numerictextbox-exception

Why I need to use a custom editor of NumericTextBox is to be able to change the step. Be default, the step set by Grid for number fields (NumeericTextBox) is 1 and I want to change that.

Is there another way rather than using custom editor?

Thank
0
Accepted
Alexander Valchev
Telerik team
answered on 03 Apr 2015, 11:07 AM
Hello Bilal,

Why I need to use a custom editor of NumericTextBox is to be able to change the step. Be default, the step set by Grid for number fields (NumeericTextBox) is 1 and I want to change that.

In order to change the default editor or its options the developer has to define a custom editor. That is the officially supported approach.

Alternatively you may hook up to the edit event of the Grid, find the NumericTextBox in the editor container and modify its step through the step method.
Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Bilal
Top achievements
Rank 2
Answers by
Atanas Georgiev
Telerik team
Bilal
Top achievements
Rank 2
Alexander Valchev
Telerik team
Share this question
or