Remove Comma in Kendo Numeric Textbox

2 posts, 0 answers
  1. crazy05
    crazy05 avatar
    72 posts
    Member since:
    Sep 2014

    Posted 30 Jan 2015 Link to this post

    Hello,

    I don't want either comma or decial for the number I entered. I just want the numer as it is entered by the user. How can I do it ?

    $("#Number").kendoNumericTextBox({
                spinners: false           
            });
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 03 Feb 2015 Link to this post

    Hello Ram,

    If you would like to allow only simple digits without any formatting then you can setup the numerictextbox like this:
    $("#Number").kendoNumericTextBox({
      spinners: false,
      format: "#",
      decimals: 0
    });
    Refer to the API and Globalization help topics for more details about the given solution.

    Regards,
    Georgi Krustev
    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
Back to Top