cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Error in TreeHandler

Selva
1-Visitor

Error in TreeHandler

Hi,

I have a tree as shown in the figure and I have to write a DataUtility class for a particular column, say Column "Name".

How to get the Parent oid of an object in the Table?

NmHTMLTableNode node = new NmHTMLTableNode (object);

is not giving the null value for

node.getParent();

node.getRoot() is returning the same oid object.

There is no link(PartUsage link or Any OOTB link) between the parent and child nodes.

Have any ideas?

Thanks in advance ....

1 REPLY 1
Selva
1-Visitor
(To:Selva)

helo folks,

yup..I gotta answer..But I do not know whether it is correct way of finding the node.....

ModelContext.getModelObjects() will give you the list objects in that node (node object +child node objects) in array... when you expand a particular node...

ModelContext.getModelObjects() will return the list of nodes and its child objects in a list when you expand the whole tree

we have to filter the node that we need for our child object from this list.

Thanks

Announcements


Top Tags