Right to Left Align

18 Feb 20161 minute to read

TreeView supports right to left align and it can be applied by specifying EnableRTL as true.

  • razor
  • @(Html.EJ().TreeView("treeViewDrag")
            .TreeViewFields(field =>
                field.Datasource((IEnumerable<LoadData>)ViewBag.datasource)
                .Id("Id")
                .ParentId("Parent")
                .Text("Text")
            )
            .EnableRTL(true)
        )