• enable (enable)
    Enable/Disable the numerictextbox widget.

    Example

    // get a reference to the numeric textbox
    var textbox = $("#textbox").data("kendoNumericTextBox");
    
    // disables the numerictextbox
    numerictextbox.enable(false);
    
    // enables the numerictextbox
    numerictextbox.enable(true);

    Parameters

    enable: Boolean
    The argument, which defines whether to enable/disable tha numerictextbox.
  • max (value) : Number
    Gets/Sets the max value of the NumericTextBox.

    Example

    // get a reference to the NumericTextBox widget
    var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
    
    // get the max value of the numerictextbox.
    var max = numerictextbox.max();
    
    // set the max value of the numerictextbox.
    numerictextbox.max(10);

    Parameters

    value: Number | String
    The max value to set.
    Returns
    Number The max value of the NumericTextBox.
  • min (value) : Number
    Gets/Sets the min value of the NumericTextBox.

    Example

    // get a reference to the NumericTextBox widget
    var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
    
    // get the min value of the numerictextbox.
    var min = numerictextbox.min();
    
    // set the min value of the numerictextbox.
    numerictextbox.min(-10);

    Parameters

    value: Number | String
    The min value to set.
    Returns
    Number The min value of the NumericTextBox.
  • step (value) : Number
    Gets/Sets the step value of the NumericTextBox.

    Example

    // get a reference to the NumericTextBox widget
    var numerictextbox = $("#numerictextbox").data("kendoNumericTextBox");
    
    // get the step value of the numerictextbox.
    var step = numerictextbox.step();
    
    // set the step value of the numerictextbox.
    numerictextbox.step(0.1);

    Parameters

    value: Number | String
    The step value to set.
    Returns
    Number The step value of the NumericTextBox.
  • value (value) : Number
    Gets/Sets the value of the numerictextbox.

    Example

    // get a referene to the numeric textbox
    var numerictextbox = $("#textbox").data("kendoNumericTextBox");
    
    // get the value of the numerictextbox.
    var value = numerictextbox.value();
    
    // set the value of the numerictextbox.
    numerictextbox.value("10.20");

    Parameters

    value: Number | String
    The value to set.
    Returns
    Number The value of the numerictextbox.