Domanda

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

È stato utile?

Soluzione

I found My Answer:

 onPostInit: function () {
                // Set RTL attribute on init
                this.$tree.find("ul.dynatree-container").attr("DIR", "RTL").addClass("dynatree-rtl");
            }
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top