I'm trying to make the TOC widget to run from right to left in ArcGIS API for JavaScript.

Is it possible to achieve, and how?


In the container that has the legend, set the attribute dir to rtl. Like this


  • Thanks for your response but this destroy the tree shape of the toc
    – Omar Taha
    Jan 21 '15 at 7:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.