New to Kendo UI for jQuery? Download free 30-day trial

Bind to the Events of the NumericTextBox Editor in Grid

Environment

Product Progress® Kendo UI® Grid for jQuery
Product Version 2017.3.1026/

Description

How can I bind to the spin event of the NumericTextBox editor in the Grid?

Solution

Bind to the NumericTextBox on the edit event of the Grid.

  edit:function(e){
    var numeric = $(e.container).find('[data-role="numerictextbox"]').data('kendoNumericTextBox')
    if(numeric !== undefined){
      numeric.bind("spin", function(e) {
        console.log("spin event handler");
      });
    }
  }
In this article