We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Children do not appear correctly on the third level

Hi,

The childrens do not appear correctly on the third level.
In the image are marked. They only appear at the end.

This is the code I'm using:
<div>
    @(Html.EJS().TreeGrid("TreeGridContainer")
        .DataSource((IEnumerable<object>)Model)
        .Columns(co =>
        {
            co.Field("Id").HeaderText("Id").Width(125).Add();
            co.Field("ParentId").HeaderText("ParentId").Width(100).Add();
            co.Field("IsParent").HeaderText("IsParent").Width(100).Add();
            co.Field("Nivel").HeaderText("Level").Width(125).Add();
            co.Field("Pai").HeaderText("Parent").Width(100).Add();
            co.Field("Codigo").HeaderText("Código").Width(100).Add();
            co.Field("Descricao").HeaderText("Descrição").Width(250).Add();
            co.Field("Status").HeaderText("Stat.").Width(60).Add();
            co.Field("Quantidade").HeaderText("Quant.").Width(80).Add();
            co.Field("Perda").HeaderText("Perda").Width(100).Add();
            co.Field("Sequencia").HeaderText("Seq.").Width(75).Add();
            co.Field("OperacaoComponente").HeaderText("Op. X Comp.").Width(225).Add();
            co.Field("Roteiro").HeaderText("R").Width(50).Add();
            co.Field("Operacao").HeaderText("O").Width(50).Add();
            co.Field("DescricaoOperacao").HeaderText("Descrição").Width(150).Add();
            co.Field("Departamento").HeaderText("D").Width(50).Add();
            co.Field("DescricaoDepartamento").HeaderText("Descrição").Width(150).Add();
            co.Field("Recurso").HeaderText("R").Width(50).Add();
            co.Field("DescricaoRecurso").HeaderText("Descrição").Width(150).Add();
        })
        .Height(600)
        .AllowFiltering()
        .FilterSettings(fs => fs.Type(Syncfusion.EJ2.Grids.FilterType.Excel))
        .AllowResizing()
        .AllowSorting()
        .AllowMultiSorting()
        .AllowReordering()
        .ShowColumnMenu()
        .ParentIdMapping("ParentId")
        .IdMapping("Id")
        .HasChildMapping("IsParent")
        //.ChildMapping("ParentId")
        .TreeColumnIndex(3)
        .EnableAltRow(true)
        .Toolbar(new List<object>() { new { prefixIcon = "e-big-icon", id = "small", align = "Left", tooltipText = "Small" }, new { prefixIcon = "e-medium-icon", id = "medium", align = "Left", tooltipText = "Medium" }, new { prefixIcon = "e-small-icon", id = "big", align = "Left", tooltipText = "Large" } })
        .ToolbarClick("onToolbarClick")
        .Render())
</div>
What's wrong?

Thanks regards.

Maico Schmitz

2 Replies

SE Sathyanarayanamoorthy Eswararao Syncfusion Team January 3, 2019 10:15 AM UTC

Hi Maico, 

Thanks for contacting Syncfusion support. 

Query: “The child records are not aligned properly from the third level” 

We have confirmed that the mentioned issue “The child records are not aligned properly from the third level” is a bug and have logged a defect report for the same. The fix for this issue will be included in the upcoming patch release on 9th January 2019. We appreciate your patience till then. 

Regards, 
Sathyanarayanamoorthy 




VN Vignesh Natarajan Syncfusion Team January 9, 2019 11:42 AM UTC

Hi Customer, 
Thanks for the patience. 
We are glad to announce that patch release (v 16.4.46) is rolled out successfully and in that release, we have included the fix for “The child records are not aligned properly from the third level” issue. 
 
Please get back to us if you need further assistance. 
 
Regards, 
Vignesh Natarajan. 
 


Loader.
Live Chat Icon For mobile
Up arrow icon