Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
8920
igNumericEditor
posted

On the Editors Knockoutjs binding sample there is a following setting for the numeric editor:

 <div id="customerNameIG" class="row-control" data-bind="igTextEditor: { value: customerName, textAlign: 'right' }"></div>
If I need to have numeric editing but without decimal separator.. I tried to add , decimalSeparator:' ' but it did not help. 
What to do to have to do to have numeric editor without decimal separator?
Thnx

 

Parents
  • 435
    posted

    Hello Michael,

    Thank you for contacting Infragistics!

    I suggest you to set dataMode property of the editor to “int”. This gives you the opportunity to use igNumericEditor without decimal separator. This is relevant approach for js and knockoutjs projects. What is more, you can refer to the attached link where you will find a runnable code sample illustrating the approach.

    http://jsfiddle.net/zava92q2/5/

    Please let me know how this works for you.

    Regards,

    Aneta Gicheva,

    Infragistics

Reply Children