Possibily to hide/unhide a node

Hi

It works, but I have to change the code to hide/suppress the rows.

I joined the code to others users :


    FOR i := 1 TO 15 DO
    BEGIN
        IF AdvColumnGrid1.IsNode(i) AND (AdvColumnGrid1.Cells[1, i] = '2') THEN
        BEGIN   // Node to hide/suppress
            AdvColumnGrid1.SuppressRows(i, i + AdvColumnGrid1.GetNodeSpan(i) - 1)
        END;
    END;

Thanks you