I understand that igTreeGrid inherits from igGrid and the method selectRow seems to be available, however I can't get it to work.
$("#myIGTreeGrid").igTreeGrid({width: "100%",dataSource: productsDataSource,initialExpandDepth: 0,autoGenerateColumns: false,height: "100%",primaryKey: "id",showFooter: false,columns: productColumns,childDataKey: "products",features: [ { name: "Selection" }, ],});
When I call $("#myIGTreeGrid").igGridSelection("selectRow", 0) I get this error
cannot call methods on igGridSelection prior to initialization; attempted to call method 'selectRow'
Hello Juan,
Thank you for contacting the Infragistics support!
The method you should use should look like this:
$("#myIGTreeGrid").igTreeGridSelection("selectRow", 0);
"selectRow"
, 0);
You can find the igTreeGridSelection API here: https://www.igniteui.com/help/api/2017.2/ui.igtreegridselection#methods:selectRow
I hope this will help you in your scenario!
If you face any other issues - do not hesitate to contact us again!
Best regards,Alexander Marinov