How to format editor field number into comma separated on change or dependent without using mask?

How to format editor field number into comma separated on change or dependent without using mask?

stancaballerostancaballero Posts: 29Questions: 9Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    I'm not clear what you're after, sorry. Please can you expand with example.

    Colin

  • stancaballerostancaballero Posts: 29Questions: 9Answers: 0

    i mean for editor fields after i input numbers it automatically put comma every thousand and .cents just like rendering in datatable

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    Ah, yep, you can use the language settings for that - see example here,

    Colin

  • stancaballerostancaballero Posts: 29Questions: 9Answers: 0

    still i can't get it, do you have example that have new and edit button

  • colincolin Posts: 15,112Questions: 1Answers: 2,583
    edited January 2022 Answer ✓

    The same principle would apply when the example I linked to is using Editor. If you want Editor to display those settings in the edit form, you would need to something like jQuery mask - see age column in this example,

    Colin

Sign In or Register to comment.