Hello ErVishalM,
You can use the addRow
method. It has 4 paremeters:
1) Row Key/ID - unique ID which identifies the row. If null is passed, the jqxTreeGrid will generate an unique ID for the row.
2) Row Data - Object with Key/Value pairs. To add an empty row, pass {}.
3) Row Position - string with two possible values - "last" and "first". By default "last" is used.
4) Parent Row Key/ID - unique ID which identifies the Parent Row. If null is passed, the jqxTreeGrid will add the new row at the first level.
The 4th parameter is for the parent’s id. You can pass null to add the new row at the first level.
Best Regards,
Martin
jQWidgets Team
http://www.jqwidgets.com/