RTL Support

28 Jun 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" ej-percentagetextbox e-value="22" e-enablertl="true" />

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