| layout | post |
|---|---|
| title | RTL-Support |
| description | rtl support |
| platform | js |
| control | NumericTextbox |
| documentation | ug |
| api | /api/js/ |
The NumericTextBox provides RTL (Right-To-Left) support. The alignment of NumericTextBox can be changed from Left-To-Right into Right-To-Left.
The following steps explain the implementation of enableRTL in NumericTextBox .
In the HTML page set the corresponding <input> elements for rendering NumericTextBox control.
{% highlight html %}
{% endhighlight %}
{% highlight javascript %}
$("#numeric").ejNumericTextbox({
value: 11,
enableRTL: true
});
{% endhighlight %}
The output for NumericTextBox when enableRTL is “true” is as follows.
