adds a row to treegrid
new_id | string|number | new row id |
text | array | an array of cell labels in a row |
ind | number | position of a row (set to null, for using parentId) |
parent_id | string|number | id of the parent row |
img | string | img url for new row |
child | boolean | child flag (optional) |
myTreeGrid.addRow("new_id",["col1_value","col2_value","col3_value"],0,"parent_row",
"folder.img",true);
Back to top