RTL Support

19 Apr 20171 minute to read

The PercentageTextBox provides RTL (Right-To-Left) support. The alignment of PercentageTextBox can be changed from Left-To-Right into Right-To-Left.

Enable RTL

The following steps explain the implementation of enableRTL in PercentageTextBox .

In the HTML page set the corresponding <input> elements for rendering PercentageTextBox control.

  • HTML
  • <table cellpadding="10">
                    <label for="percent">Percent</label>
                    <input id="percent" type="text" />
  • $("#percent").ejPercentageTextbox({
                value: 22,
                enableRTL: true

    The output for PercentageTextBox when enableRTL is “true” is as follows.