Hello sthompson,
If you start to use jqxTreeGrid you could bind to rowExpand
event and there you could get information about which row is expanded.
Please, take a look at this example:
$('#treeGrid').on('rowExpand', function (event) {
// event args.
var args = event.args;
// row data.
var row = args.row;
// row key.
var key = args.key;
});
Again you could save value (ID) of the paren in one variable and when you wnat could expand with expandRow
method.
For more information, please take a look at our API Documentation.
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com