Skip to main content

Expand rows in hierarchical grid

Comments

1 comment

  • Dapfor Team

    Hi,

    The grid has two API providing Row objects: grid.Rows and grid.Nodes. The first one represents only visible rows. The second - rows (visible and invisible) on  the top level of the grid. So if you need to expand only the first level, use the following code:

     

    foreach (Row row in grid.Nodes)
    {
        row.Expanded = true;
    }

    Best regards,

    Dapfor

    0

Please sign in to leave a comment.

Powered by Zendesk