We have requirement of oj-row-expander with three levels of hierarchal data and able to display it on UI with edit feature in level3, when we editing any of level3, need to expand same level of that node, currently using below code to achieve that but unable to expand the respective level it is collapsing everything after updating
var arrayTreeDataProvider;
var flattenedTreeDataProviderView;
arrayTreeDataProvider = new ArrayTreeDataProvider(baseDataProvider, { keyAttributes: 'lvl', keyAttributesScope: 'siblings', childrenAttribute: 'children' });
flattenedTreeDataProviderView = new FlattenedTreeDataProviderView(arrayTreeDataProvider);
flattenedTreeDataProviderView.setExpanded(new keySet.KeySetImpl().add(['1']));(key value in this case 1) so directly passed to test it.
can anyone suggest to achieve above solution??
Thanks.