var parentGrid = $("#baGrid").igHierarchicalGrid("rootWidget"),
rowDomElement = parentGrid.allRows()[0];
$(".selector").igHierarchicalGrid("expand", rowDomElement);
Hello HHH,
You're on the right track. Just change the ".selector" in the third line of your code with your grid id selector which is "#baGrid".
Here is the final code:
$("#baGrid").igHierarchicalGrid("expand", rowDomElement);
Best regards,Martin PavlovInfragistics, Inc.