You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to expand specific level using oj-row-expander using script?

Summary:

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

Content (required):



Version (include the version you are using, if applicable):

Version23.01.0Designer Version23.01.1-221206.1441.0009 6da451 (2022-12-06 14:43:06)

Code Snippet (add any code snippets that support your topic, if applicable):

var arrayTreeDataProvider;  

var flattenedTreeDataProviderView;

   arrayTreeDataProvider = new ArrayTreeDataProvider(baseDataProvider, { keyAttributes: 'lvl', keyAttributesScope: 'siblings', childrenAttribute: 'children' });

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!