What happened to toolbar.setRTL(true)?

Hi Folks, I want to position an 2 items on a toolbar to the far right. They are the only items on the toolbar so using addSpacer() does not seem to be an option. I tried using setRTL(true) as described at:

docs.dhtmlx.com/doku.php?id=dhtm … ect_setrtl

but I get an error in the console:

Uncaught TypeError: Object # has no method ‘setRTL’

We are using DHTMLX pro.

Thanks for any help.

Daryl

Hi
If you don’t have additional RTL library, you will not be able to use this method. Besides you will have an invert order of items and icons.
You need to create false empty (i.e. text) item and then add spacer.

Thanks for the suggestion Darya I appreciate it. Is the RTL library a separate package or is it included in the PRO Edition?

Regards,

Daryl

It is a just separate package. There is either for standard and PRO suits.