KendoNumericTextBox with grid edit templates

4 posts, 0 answers
  1. chris
    chris avatar
    11 posts
    Member since:
    Nov 2011

    Posted 13 Sep 2012 Link to this post

    How do i wire up a custom grid edit template to have a united kingdom £ and curreny format 999.99 for example.



    $('#test').width(250).kendoNumericTextBox({
        format: 'c2'
    });

      <script id="popup_editor" type="text/x-kendo-template">
           <input id="test" />
    </script>
  2. chris
    chris avatar
    11 posts
    Member since:
    Nov 2011

    Posted 13 Sep 2012 Link to this post

    ]
  3. Kendo UI is VS 2017 Ready
  4. Simon
    Simon avatar
    5 posts
    Member since:
    Jul 2012

    Posted 28 Sep 2012 Link to this post

    Just add this after your other Kendo Script References.

    <script src="/Scripts/kendo.culture.en-GB.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        kendo.culture("en-GB");
    </script>
  5. chris
    chris avatar
    11 posts
    Member since:
    Nov 2011

    Posted 28 Sep 2012 Link to this post

    worked a treat , thankyou
Back to Top
Kendo UI is VS 2017 Ready