I'm trying to format a numeric text box item with the following:
attributes: {format: "#", decimal: 0}
But it has no efect
Could you give an example of how to achieve the above
Thanks
3 Answers, 1 is accepted
0
Accepted
Dimitar
Telerik team
answered on 08 Jun 2020, 06:24 AM
Hello Michael,
The idea of the items.attribute option is to provide a way of applying a custom attribute to the input element of the field. However, from the provided code you are actually trying to set options to the NumericTextBox widget. To do this, you can use the item.editor and item.editorOptions as follows:
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.