DHTMLX Docs & Samples Explorer

Expanding/Collapsing Row

The following methods should be used to expand/collapse a row in the TreeGrid:

        treegrid.openItem(rowId);
        treegrid.closeItem(rowId);