• 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.
  • 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.