0

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?

1 Answer 1

1

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

http://www.w3schools.com/tags/att_global_dir.asp

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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