Question

I'm trying to set specific closed nodes in my AdvancedDataGrid, and I know you would normally do so using the expandItem() property with the grid. However, I'm obtaining the Hierarchical Data in a separate file, so I'm having difficulty trying to access the data grid from within the adapter file I created for the hierarchical data. Any help would be greatly appreciated.

Was it helpful?

Solution

I found the answer. Apparently, the dataProvider property of the AdvancedDataGrid actually uses the HierarchicalCollection class, so you can use the showItem(); function to access objects that are nodes without having to be in Hierarchical Data.

Example:

AdvancedDataGridName.dataProvider.showItem(object);

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top