extjs 4 rtl support - ExtJS 4: RTL support

ExtJS 4: RTL support

Posted on

Being a best, world class enterprise framework ExtJS support Internationalization and Right-to-Left language support. It means we can develop UI in ExtJS for users who do understand only languages like Arabic, Urdu, Persian etc.

Today’s post is my effort of demonstrating ExtJS RTL support. If you want UI to support RTL as well as LTR then read my Multi-Language post.

Steps to use Ext JS RTL support.

Step 01)

Import extjs library’s RTL version into your application (use include ext-all-rtl.css and xt-all-rtl.js)

Step 02) Add rtl : true into your Panel’s configuration

Step 03) Add RTL text in Unicode format as label texts.

Here is the sample code of Ext.Panel which has some RTL text.

Output….

extjs 4 rtl support - ExtJS 4: RTL support

Source techzoo.org