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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Error in TreeHandler

Selva
1-Newbie

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-Newbie
(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