cancel
Showing results for 
Search instead for 
Did you mean: 

iBrowser - Check for Child node

Former Member
0 Kudos

Hi,

I have a iBrowser Tree running on my IRPT page which is a multi-level tree structure.

On click of a node, i need to check whether is there any child node available for the selected node or not.

Is there any method to check that.

Regards

Muzammil

View Entire Topic
Former Member
0 Kudos

Hi,

Probably there is or probably there isin't , I am not too sure but if you look at an iBrowser tree the expansion or + sign would be visible only if there are child nodes , correct?

So what is your requirement that you need to check for child nodes?

Thanks

Udayan

agentry_src
Active Contributor
0 Kudos

Underlying the iBrowser tree is an xml document. There are several xPath expressions which could work (count, boolean, probably several other ways) to return the information you request.

But I guess the real question is what is the business reason for needing this information. Do you need it built into the underlying xml structure?

Regards,

Mike

Former Member
0 Kudos

Udayan/Mike,

The requirement is to add, update, delete records from/to the existing Tree.

I should only delete a node, if it is a child node. I cannot delete a parent node.

So before deleting, i need to check whether the selected node contains siblings or not.

Regards

Muzammil

Edited by: Muzammil Ahamed on Feb 18, 2011 6:38 PM