Question

how to change Right to left setting in

dynatree ?

 <div id="tree" style="text-align:right;"></div>

i use text-align but all nodes show in right of page. like this: my tree

Was it helpful?

Solution

I found My Answer:

 onPostInit: function () {
                // Set RTL attribute on init
                this.$tree.find("ul.dynatree-container").attr("DIR", "RTL").addClass("dynatree-rtl");
            }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top