jQuery Error - When I press Tab out of editable cell

4 posts, 1 answers
  1. Bilal
    Bilal avatar
    109 posts
    Member since:
    Oct 2014

    Posted 30 Mar 2015 Link to this post

    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
  2. Atanas Georgiev
    Admin
    Atanas Georgiev avatar
    126 posts

    Posted 01 Apr 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Bilal
    Bilal avatar
    109 posts
    Member since:
    Oct 2014

    Posted 01 Apr 2015 in reply to Atanas Georgiev Link to this post

    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
  5. Answer
    Alexander Valchev
    Admin
    Alexander Valchev avatar
    2877 posts

    Posted 03 Apr 2015 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready