Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Reading text of child nodes
posted

Team,

I have a need to be able to read text from an array of selected children (supposedly available using the 'children' method). Is there any way to access this array to do this?

Thanks,

Walter Sobchak

Parents
  • 425
    posted

    To clarify, this needs to be children of a selected node. I seem to be able to access the checked status by using nodeByIndex but cannot access the data.Text or html properties to read the inner text of the nodes.

    To Update the above, I've found the "children" method of selecting by a node as parameter does not seem to work. I've resorted to using"childrenByPath" which has the desired result of accessing the set of children for manipulation.

    Could someone from the IG team clarify why the children method may have problems and the childrenByPath doesn't?

Reply Children