Pergunta

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

Foi útil?

Solução

I found My Answer:

 onPostInit: function () {
                // Set RTL attribute on init
                this.$tree.find("ul.dynatree-container").attr("DIR", "RTL").addClass("dynatree-rtl");
            }
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top