DHTMLX Docs & Samples Explorer

Setting Item Label

The following method is used for setting item label in the TreeGrid:

        treegrid.setLabel(val); // new label value