DhtmlxGrid add row

Hello,

How to add a row in Grid ?

Thank You.

Please, try to use the add() method of a data collection:
https://docs.dhtmlx.com/suite/data_collection__api__add.html
For example:

grid.data.add({col1:"value1", col2:"value2", id:"some_unique_id"})

@sematik this doenst seem to work in treegrid with a parent value.

UPDATE: Ok I got it, if the level 0 ‘parent’ has a span in the total width, the child doesnt work.