This is a migrated thread and some comments may be shown as answers.

NumericTextBox Custom Format

1 Answer 699 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
준우
Top achievements
Rank 1
준우 asked on 30 Mar 2017, 03:32 PM

I want add html tag or custom css in Numeric TextBox Input.

For example, it is like an attached image.

 

If not, should I inherit Kendo View?

Please answer about my question

Thx.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 03 Apr 2017, 07:27 AM
Hello,

The desired result can be achieved using the format property of the NumericTextBox and then setting it to a custom format:

http://docs.telerik.com/kendo-ui/api/javascript/ui/numerictextbox#configuration-format

http://docs.telerik.com/kendo-ui/framework/globalization/numberformatting#custom

Please check the following example demonstrating this:

http://dojo.telerik.com/IQErA

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
NumericTextBox
Asked by
준우
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or